Browse Source

all items now AutoID

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
f69fde8a3a
  1. 5
      src/engine/gameManager/LootManager.java

5
src/engine/gameManager/LootManager.java

@ -301,9 +301,10 @@ public enum LootManager {
MobLoot toAdd = getGenTableItem(tableID, mob); MobLoot toAdd = getGenTableItem(tableID, mob);
if (toAdd != null) if (toAdd != null) {
toAdd.setIsID(true);
mob.getCharItemManager().addItemToInventory(toAdd); mob.getCharItemManager().addItemToInventory(toAdd);
}
} catch (Exception e) { } catch (Exception e) {
//TODO chase down loot generation error, affects roughly 2% of drops //TODO chase down loot generation error, affects roughly 2% of drops
int i = 0; int i = 0;

Loading…
Cancel
Save