forked from MagicBane/Server
removed unused method parameter
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user