From 29b109fcf6835fe5aa86d09dd2996e598836dc33 Mon Sep 17 00:00:00 2001 From: Arnold Alejo Nunag Date: Mon, 14 Sep 2020 23:03:30 +0800 Subject: [PATCH] Fix bot console --- src/main/java/sciwhiz12/janitor/BotConsole.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }