|
|
@ -505,9 +505,8 @@ public class InfoCmd extends AbstractDevCmd { |
|
|
|
case Item: //intentional passthrough
|
|
|
|
case Item: //intentional passthrough
|
|
|
|
case MobLoot: |
|
|
|
case MobLoot: |
|
|
|
Item item = (Item) target; |
|
|
|
Item item = (Item) target; |
|
|
|
ItemBase itemBase = item.getItemBase(); |
|
|
|
|
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(item.getTemplateID()); |
|
|
|
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 += "Weight: " + template.item_wt; |
|
|
|
output += newline; |
|
|
|
output += newline; |
|
|
|
DecimalFormat df = new DecimalFormat("###,###,###,###,##0"); |
|
|
|
DecimalFormat df = new DecimalFormat("###,###,###,###,##0"); |
|
|
|