Refactor gachapon logging

This commit is contained in:
P0nk
2022-01-03 18:50:50 +01:00
parent 6041d56bcd
commit 1e53bc7d1f
4 changed files with 19 additions and 10 deletions

View File

@@ -413,7 +413,7 @@ public class NPCConversationManager extends AbstractPlayerInteraction {
(getNpc() - NpcId.GACHAPON_HENESYS) : getNpc() == NpcId.GACHAPON_NLC ? 8 : 9];
String map = c.getChannelServer().getMapFactory().getMap(mapId).getMapName();
LogHelper.logGacha(getPlayer(), item.getId(), map);
Gachapon.log(getPlayer(), item.getId(), map);
if (item.getTier() > 0) { //Uncommon and Rare
Server.getInstance().broadcastMessage(c.getWorld(), PacketCreator.gachaponMessage(itemGained, map, getPlayer()));