From 8eaaabb4d4cebe9d085872c0ba497c12206e9b4f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 1 Mar 2024 08:31:49 -0500 Subject: [PATCH] Formatting cleanup --- src/engine/devcmd/cmds/PrintBankCmd.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/devcmd/cmds/PrintBankCmd.java b/src/engine/devcmd/cmds/PrintBankCmd.java index 09b793fb..e0a7df1e 100644 --- a/src/engine/devcmd/cmds/PrintBankCmd.java +++ b/src/engine/devcmd/cmds/PrintBankCmd.java @@ -50,11 +50,14 @@ public class PrintBankCmd extends AbstractDevCmd { CharacterItemManager cim = ((AbstractCharacter) tar).getCharItemManager(); ArrayList 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