From e361f4f2b9bd257ebf5107ae67cf41599187416e Mon Sep 17 00:00:00 2001 From: Max Gerbeth Date: Mon, 9 Jan 2023 10:33:49 +0100 Subject: [PATCH] Shop command integration --- src/main/java/org/bitbiome/commands/CommandListener.java | 2 ++ src/main/java/org/bitbiome/commands/ShopCommand.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bitbiome/commands/CommandListener.java b/src/main/java/org/bitbiome/commands/CommandListener.java index 2e62105..0b4f4dc 100644 --- a/src/main/java/org/bitbiome/commands/CommandListener.java +++ b/src/main/java/org/bitbiome/commands/CommandListener.java @@ -14,6 +14,8 @@ public class CommandListener { commands.put("exit", new QuitCommand()); commands.put("quit", new QuitCommand()); + + commands.put("shop", new ShopCommand()); } public HashMap returnCommands() { diff --git a/src/main/java/org/bitbiome/commands/ShopCommand.java b/src/main/java/org/bitbiome/commands/ShopCommand.java index 2167bd6..2bc5d15 100644 --- a/src/main/java/org/bitbiome/commands/ShopCommand.java +++ b/src/main/java/org/bitbiome/commands/ShopCommand.java @@ -6,6 +6,8 @@ public class ShopCommand implements CommandAPI{ @Override public void performCommand(Scanner scanner, boolean isRunning, String message) { - + System.out.println("Willkommen im Shop!"); } + + }