From b789c773b40b0113ac023393f5d794127bbb4611 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 16 Mar 2024 17:48:43 -0400 Subject: [PATCH] Refactor out itembase --- src/engine/devcmd/cmds/PrintEquipCmd.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/devcmd/cmds/PrintEquipCmd.java b/src/engine/devcmd/cmds/PrintEquipCmd.java index 50c74a53..d78d67f3 100644 --- a/src/engine/devcmd/cmds/PrintEquipCmd.java +++ b/src/engine/devcmd/cmds/PrintEquipCmd.java @@ -66,7 +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); - throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot); + throwbackInfo(pc, equip.templateID + " : " + equip.template.item_base_name + ", slot: " + slot); } return; } @@ -76,7 +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); - throwbackInfo(pc, equip.getItemBase().getUUID() + " : " + equip.template.item_base_name + ", slot: " + slot); + throwbackInfo(pc, equip.templateID + " : " + equip.template.item_base_name + ", slot: " + slot); } return; }