mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Fix remove command
- Fixes remove command saying the player doesn't have permission when the player does
This commit is contained in:
parent
847fff1b52
commit
a59fd2b70f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue