diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index ca2c7d22..c6f9c2f9 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -658,10 +658,9 @@ public enum LootManager { if (random > 971071) random = 971071; - int baseLoot = rollRandomItem(random); - ItemBase contract = ItemBase.getItemBase(baseLoot); - if (contract != null) { - MobLoot toAdd = new MobLoot(mob, contract, true); + ItemBase present = ItemBase.getItemBase(random); + if (present != null) { + MobLoot toAdd = new MobLoot(mob, present, true); if (toAdd != null) mob.getCharItemManager().addItemToInventory(toAdd);