|
|
@ -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; |
|
|
|