|
|
|
@ -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"); |
|
|
|
|