diff --git a/src/engine/devcmd/cmds/PrintEquipCmd.java b/src/engine/devcmd/cmds/PrintEquipCmd.java index ab87e3eb..50c74a53 100644 --- a/src/engine/devcmd/cmds/PrintEquipCmd.java +++ b/src/engine/devcmd/cmds/PrintEquipCmd.java @@ -66,8 +66,7 @@ public class PrintEquipCmd extends AbstractDevCmd { throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')'); for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) { MobEquipment equip = tarMob.getEquip().get(slot); - ItemTemplate template = ItemTemplate.itemTemplates.get(equip.getItemBase().getUUID()); - throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + template.item_base_name + ", slot: " + slot); + throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot); } return; } @@ -77,8 +76,7 @@ public class PrintEquipCmd extends AbstractDevCmd { throwbackInfo(pc, "Equip for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')'); for (Enum.EquipSlotType slot : tarMob.getEquip().keySet()) { MobEquipment equip = tarMob.getEquip().get(slot); - ItemTemplate template = ItemTemplate.itemTemplates.get(equip.getItemBase().getUUID()); - throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + template.item_base_name + ", slot: " + slot); + throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot); } return; } @@ -89,8 +87,7 @@ public class PrintEquipCmd extends AbstractDevCmd { for (Enum.EquipSlotType slot : list.keySet()) { Item item = list.get(slot); - ItemTemplate template = ItemTemplate.itemTemplates.get(item.getTemplateID()); - throwbackInfo(pc, " " + template.item_base_name + ", slot: " + slot); + throwbackInfo(pc, " " + item.template.item_base_name + ", slot: " + slot); } }