Browse Source

updated naming convention of variables to conform to client data

master
FatBoy-DOTC 1 year ago
parent
commit
2b4b79e339
  1. 4
      src/engine/gameManager/LootManager.java

4
src/engine/gameManager/LootManager.java

@ -160,9 +160,9 @@ public enum LootManager {
//gets the 1-320 roll for this mob //gets the 1-320 roll for this mob
int roll2 = TableRoll(mob.level, inHotzone); int itemTableRoll = TableRoll(mob.level, inHotzone);
ItemTableRow tableRow = itemTables.get(itemTableId).getRowForRange(roll2); ItemTableRow tableRow = itemTables.get(itemTableId).getRowForRange(itemTableRoll);
if (tableRow == null) if (tableRow == null)
return null; return null;

Loading…
Cancel
Save