diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 0397cd2d..72c6c915 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -377,7 +377,7 @@ public enum LootManager { if (itemUUID == 0) return null; - if (ItemBase.getItemBase(itemUUID).getType().ordinal() == Enum.ItemType.RESOURCE.ordinal()) { + if (ItemBase.getItemBase(itemUUID).getType().equals(Enum.ItemType.RESOURCE) || ItemBase.getItemBase(itemUUID).getName().equals("Mithril")) { if(ThreadLocalRandom.current().nextInt(1,101) < 91) return null; // cut down world drops rates of resources by 90% int amount = ThreadLocalRandom.current().nextInt(tableRow.minSpawn, tableRow.maxSpawn + 1);