diff --git a/spark-minestom/src/main/java/me/lucko/spark/minestom/MinestomCommandSender.java b/spark-minestom/src/main/java/me/lucko/spark/minestom/MinestomCommandSender.java index da46224b..e4323e6b 100644 --- a/spark-minestom/src/main/java/me/lucko/spark/minestom/MinestomCommandSender.java +++ b/spark-minestom/src/main/java/me/lucko/spark/minestom/MinestomCommandSender.java @@ -60,6 +60,9 @@ public void sendMessage(Component message) { @Override public boolean hasPermission(String permission) { + if (this.delegate instanceof ConsoleSender) { + return true; + } return this.delegate.hasPermission(permission); } }