|
|
|
@ -50,11 +50,14 @@ public class PrintBankCmd extends AbstractDevCmd {
@@ -50,11 +50,14 @@ public class PrintBankCmd extends AbstractDevCmd {
|
|
|
|
|
CharacterItemManager cim = ((AbstractCharacter) tar).getCharItemManager(); |
|
|
|
|
ArrayList<Item> list = cim.getBank(); |
|
|
|
|
throwbackInfo(pc, "Bank for " + type + ' ' + name + " (" + tar.getObjectUUID() + ')'); |
|
|
|
|
|
|
|
|
|
for (Item item : list) { |
|
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(item.getItemBaseID()); |
|
|
|
|
throwbackInfo(pc, " " + template.item_base_name + ", count: " + item.getNumOfItems()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Item gold = cim.getGoldBank(); |
|
|
|
|
|
|
|
|
|
if (gold != null) |
|
|
|
|
throwbackInfo(pc, " Gold, count: " + gold.getNumOfItems()); |
|
|
|
|
else |
|
|
|
|