From c0910261146b84213488626e002601c5213706d0 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 16 Mar 2024 06:47:05 -0400 Subject: [PATCH] More itembase refactor work --- src/engine/devcmd/cmds/InfoCmd.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/devcmd/cmds/InfoCmd.java b/src/engine/devcmd/cmds/InfoCmd.java index fd6393b4..c5be675c 100644 --- a/src/engine/devcmd/cmds/InfoCmd.java +++ b/src/engine/devcmd/cmds/InfoCmd.java @@ -505,9 +505,8 @@ public class InfoCmd extends AbstractDevCmd { case Item: //intentional passthrough case MobLoot: Item item = (Item) target; - ItemBase itemBase = item.getItemBase(); ItemTemplate template = ItemTemplate.itemTemplates.get(item.getTemplateID()); - output += StringUtils.addWS("ItemBase: " + itemBase.getUUID(), 20); + output += StringUtils.addWS("ItemBase: " + template.template_id, 20); output += "Weight: " + template.item_wt; output += newline; DecimalFormat df = new DecimalFormat("###,###,###,###,##0");