Browse Source

More itembase refactor work

combat-2
MagicBot 8 months ago
parent
commit
c091026114
  1. 3
      src/engine/devcmd/cmds/InfoCmd.java

3
src/engine/devcmd/cmds/InfoCmd.java

@ -505,9 +505,8 @@ public class InfoCmd extends AbstractDevCmd { @@ -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");

Loading…
Cancel
Save