Browse Source

Formatting cleanup

combat-2
MagicBot 9 months ago
parent
commit
8eaaabb4d4
  1. 3
      src/engine/devcmd/cmds/PrintBankCmd.java

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

@ -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

Loading…
Cancel
Save