Fix remove command

- Fixes remove command saying the player doesn't have permission when the player does
This commit is contained in:
Simplicitee 2015-09-25 15:21:21 -04:00
parent 847fff1b52
commit a59fd2b70f

View file

@ -55,9 +55,9 @@ public class RemoveCommand extends PKCommand {
@Override
public boolean hasPermission(CommandSender sender) {
if (sender.hasPermission("bending.admin." + getName())) {
sender.sendMessage(ChatColor.RED + "You don't have permission to use this command.");
return true;
}
sender.sendMessage(ChatColor.RED + "You don't have permission to use this command.");
return false;
}
}