removed unused method parameter

This commit is contained in:
2023-08-02 19:49:34 -05:00
parent a9af791d02
commit 86e8fe19d4
+2 -2
View File
@@ -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);