Skip to content

Commit

Permalink
I missed a Return :(
Browse files Browse the repository at this point in the history
  • Loading branch information
itzCrih committed Feb 17, 2024
1 parent 7bc8033 commit a6bb83b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a6bb83b

Please sign in to comment.