diff --git a/src/main/java/org/bitbiome/InteractionLoop.java b/src/main/java/org/bitbiome/InteractionLoop.java index 557585f..e2a1cd0 100644 --- a/src/main/java/org/bitbiome/InteractionLoop.java +++ b/src/main/java/org/bitbiome/InteractionLoop.java @@ -10,7 +10,9 @@ public class InteractionLoop { boolean isRunning = true; while (isRunning) { String line = input.nextLine().toLowerCase(); - System.out.println(line); + if (!Boot.instance.getCmdListener().perform(line.toLowerCase().split(" ")[0], input, isRunning, line)) { + System.out.println("Unknown Command"); + } } }