diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index b20fe1cc..1d1f6c8a 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -82,14 +82,14 @@ public enum LootManager { //lastly, check mobs inventory for godly or disc runes to send a server announcement for (Item it : mob.getInventory()) { - ItemBase ib = it.getItemBase(); + ItemTemplate ib = it.template; if (ib == null) break; ItemTemplate template = ItemTemplate.templates.get(it.getTemplateID()); - if (ib.isDiscRune() || template.item_base_name.toLowerCase().contains("of the gods")) { + if ((it.getTemplateID() > 3000 && it.templateID <= 3050) || template.item_base_name.toLowerCase().contains("of the gods")) { ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " in " + mob.getParentZone().zoneName + " has found the " + template.item_base_name + ". Are you tough enough to take it?"); chatMsg.setMessageType(10); chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());