diff --git a/src/main/java/it/itzcrih/coralwinter/commands/SantaShovelCommand.java b/src/main/java/it/itzcrih/coralwinter/commands/SantaShovelCommand.java index 1e41fb8..5851a3b 100644 --- a/src/main/java/it/itzcrih/coralwinter/commands/SantaShovelCommand.java +++ b/src/main/java/it/itzcrih/coralwinter/commands/SantaShovelCommand.java @@ -22,6 +22,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String Player player = (Player) sender; if (!CoralWinter.getConfigLoader().getConfig().getBoolean("santashovel.enable_command")) { player.sendMessage(ChatColor.translateAlternateColorCodes('&', CoralWinter.getConfigLoader().getMessages().getString("errors.command_disabled"))); + return true; } if (player.hasPermission("coralwinter.command.santashovel")) { santaShovel.giveSantaShovel(player);