forked from MagicBane/Server
Formatting cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user