From fdb1744f2022455c7fc3f711de040ec173ad77c4 Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Fri, 27 Jan 2023 13:26:13 +0100 Subject: [PATCH] added InventoryCommand to CommandListener to call inventory in game --- src/main/java/org/bitbiome/commands/CommandListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/bitbiome/commands/CommandListener.java b/src/main/java/org/bitbiome/commands/CommandListener.java index d59813c..79f2b47 100644 --- a/src/main/java/org/bitbiome/commands/CommandListener.java +++ b/src/main/java/org/bitbiome/commands/CommandListener.java @@ -18,6 +18,8 @@ public class CommandListener { commands.put("quit", new QuitCommand()); commands.put("location", new LocationCommand()); commands.put("travel", new TravelCommand()); + commands.put("inventory", new InventoryCommand()); + } public HashMap returnCommands() {