Refactor itembase.name to template.
This commit is contained in:
@@ -35,7 +35,8 @@ public class SimulateBootyCmd extends AbstractDevCmd {
|
||||
for (BootySetEntry entry : LootManager._bootySetMap.get(mob.bootySet)) {
|
||||
ItemBase item = ItemBase.getItemBase(entry.itemBase);
|
||||
if (item != null) {
|
||||
output += "[" + entry.bootyType + "] " + item.getName() + " [Chance] " + entry.dropChance + newline;
|
||||
ItemTemplate template = ItemTemplate.itemTemplates.get(entry.itemBase);
|
||||
output += "[" + entry.bootyType + "] " + template.item_base_name + " [Chance] " + entry.dropChance + newline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user