diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java index f818ffa..da3ab56 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/Main.java @@ -244,6 +244,7 @@ public class Main { Thread.sleep(50); } catch (InterruptedException e) { e.printStackTrace(); + break; } } else { break; diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ServerEvalCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ServerEvalCommand.java index b227cb1..9e198af 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ServerEvalCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/ServerEvalCommand.java @@ -20,7 +20,7 @@ public class ServerEvalCommand extends Command { new String[] { "" }, new String[] {}, TrustLevel.OWNER, - false + true ); } diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/StopCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/StopCommand.java index 5da6824..13ee573 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/StopCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/StopCommand.java @@ -14,7 +14,7 @@ public class StopCommand extends Command { super( "stop", "Gracefully stops the bot", - new String[] {}, + new String[] { "" }, new String[] {}, TrustLevel.OWNER, false