This commit is contained in:
rattatwinko
2025-04-27 18:29:57 +02:00
parent c1996b0a4f
commit e1ecf19527

View File

@@ -40,7 +40,7 @@ class PlugHide : JavaPlugin(), Listener {
// Block restricted commands for non-OPs
if (blockedCommands.contains(command)) {
event.isCancelled = true
player.sendMessage("§cUnknown command. Type \"/help\" for help.")
player.sendMessage("§cInsufficient Permission!.")
logger.info("Player ${player.name} attempted to use blocked command: $command")
}
}