Browse Source

fixed mob AI crash

master
FatBoy-DOTC 1 year ago
parent
commit
e9913a66a7
  1. 3
      src/engine/loot/LootManager.java

3
src/engine/loot/LootManager.java

@ -156,6 +156,9 @@ public class LootManager {
return; return;
} }
ItemTableRow tableRow = itemTables.get(126).getRowForRange(roll2); ItemTableRow tableRow = itemTables.get(126).getRowForRange(roll2);
if(tableRow == null){
return;
}
int itemUUID = tableRow.cacheID; int itemUUID = tableRow.cacheID;
if (itemUUID == 0) { if (itemUUID == 0) {
return; return;

Loading…
Cancel
Save