Browse Source

removed unused method parameter

master
FatBoy-DOTC 1 year ago
parent
commit
86e8fe19d4
  1. 4
      src/engine/loot/LootManager.java

4
src/engine/loot/LootManager.java

@ -100,7 +100,7 @@ public class LootManager {
} }
} }
} }
public static MobLoot getGenTableItem(int genTableID, Mob mob, Boolean isHotzone) { public static MobLoot getGenTableItem(int genTableID, Mob mob) {
if (genTableID == 0 || mob == null || generalItemTables.containsKey(genTableID) == false) { if (genTableID == 0 || mob == null || generalItemTables.containsKey(genTableID) == false) {
return null; return null;
} }
@ -222,7 +222,7 @@ public class LootManager {
return; return;
} }
//iterate the booty tables and add items to mob inventory //iterate the booty tables and add items to mob inventory
MobLoot toAdd = getGenTableItem(tableID, mob,false); MobLoot toAdd = getGenTableItem(tableID, mob);
if (toAdd != null) { if (toAdd != null) {
if(toAdd.getPrefix() == null && toAdd.getSuffix() == null){ if(toAdd.getPrefix() == null && toAdd.getSuffix() == null){
toAdd.setIsID(true); toAdd.setIsID(true);

Loading…
Cancel
Save