diff --git a/src/main/java/sciwhiz12/janitor/BotConsole.java b/src/main/java/sciwhiz12/janitor/BotConsole.java index 68c331d..c2e368f 100644 --- a/src/main/java/sciwhiz12/janitor/BotConsole.java +++ b/src/main/java/sciwhiz12/janitor/BotConsole.java @@ -70,7 +70,7 @@ public class BotConsole { continue; } CONSOLE.debug("Received command: {}", input); - BotConsole.this.parseCommand(scanner.nextLine()); + BotConsole.this.parseCommand(input); } catch (Exception e) { CONSOLE.error("Error while running console thread", e); }