From 41555788051c1db1fe0b34003ed0206166e53dc1 Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Fri, 27 Jan 2023 13:22:19 +0100 Subject: [PATCH] edited InventoryCommand: added amount to readInv() --- src/main/java/org/bitbiome/commands/InventoryCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bitbiome/commands/InventoryCommand.java b/src/main/java/org/bitbiome/commands/InventoryCommand.java index da14945..94af13d 100644 --- a/src/main/java/org/bitbiome/commands/InventoryCommand.java +++ b/src/main/java/org/bitbiome/commands/InventoryCommand.java @@ -23,7 +23,7 @@ public class InventoryCommand implements CommandAPI { ArrayList inventory = travelEngine.getPlayer().getInventory(); s.append("Inventory: \n"); for (int i=0; i < inventory.size(); i++){ - s.append("- ").append(inventory.get(i).getName()).append("\n"); + s.append("- ").append(inventory.get(i).getName()).append(" x").append(inventory.get(i).getAmount()).append("\n"); } return s.toString();