From 868eb67c39b06e682e87f364829318a9c4c30e9d Mon Sep 17 00:00:00 2001 From: fdai7430 Date: Sat, 4 Feb 2023 20:22:47 +0100 Subject: [PATCH] Added use to help command --- src/main/java/org/bitbiome/commands/HelpCommand.java | 2 ++ src/test/java/org/bitbiome/commands/HelpCommandTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/org/bitbiome/commands/HelpCommand.java b/src/main/java/org/bitbiome/commands/HelpCommand.java index ee4f237..d9c7b40 100644 --- a/src/main/java/org/bitbiome/commands/HelpCommand.java +++ b/src/main/java/org/bitbiome/commands/HelpCommand.java @@ -28,6 +28,8 @@ public class HelpCommand implements CommandAPI { .append("|" + Colors.ANSI_GREEN + " travel" + Colors.ANSI_RESET + " | Startet das Reise System |\n") .append("|--------------|-----------------------------|\n") .append("|" + Colors.ANSI_GREEN + " location" + Colors.ANSI_RESET + " | Gibt deine Location aus |\n") + .append("|______________|_____________________________|\n") + .append("|" + Colors.ANSI_GREEN + " use" + Colors.ANSI_RESET + " | Benutze ein Item |\n") .append("|______________|_____________________________|\n"); return outputMessage.toString(); diff --git a/src/test/java/org/bitbiome/commands/HelpCommandTest.java b/src/test/java/org/bitbiome/commands/HelpCommandTest.java index 5caac07..d294c25 100644 --- a/src/test/java/org/bitbiome/commands/HelpCommandTest.java +++ b/src/test/java/org/bitbiome/commands/HelpCommandTest.java @@ -22,6 +22,8 @@ public class HelpCommandTest { .append("|" + Colors.ANSI_GREEN + " travel" + Colors.ANSI_RESET + " | Startet das Reise System |\n") .append("|--------------|-----------------------------|\n") .append("|" + Colors.ANSI_GREEN + " location" + Colors.ANSI_RESET + " | Gibt deine Location aus |\n") + .append("|______________|_____________________________|\n") + .append("|" + Colors.ANSI_GREEN + " use" + Colors.ANSI_RESET + " | Benutze ein Item |\n") .append("|______________|_____________________________|\n"); assertEquals(outputMessage.toString(), helpMessage); }