Browse Source

Only one piece of equip drops at a time.

master
MagicBot 1 year ago
parent
commit
db2e9a282a
  1. 1
      src/engine/gameManager/LootManager.java

1
src/engine/gameManager/LootManager.java

@ -349,6 +349,7 @@ public enum LootManager { @@ -349,6 +349,7 @@ public enum LootManager {
ml.setIsID(true);
ml.setDurabilityCurrent((short) (ml.getDurabilityCurrent() - ThreadLocalRandom.current().nextInt(5) + 1));
mob.getCharItemManager().addItemToInventory(ml);
break; // Exit on first successful roll.
}
}
}

Loading…
Cancel
Save