mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-14 12:57:55 +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
|
@Override
|
||||||
public boolean hasPermission(CommandSender sender) {
|
public boolean hasPermission(CommandSender sender) {
|
||||||
if (sender.hasPermission("bending.admin." + getName())) {
|
if (sender.hasPermission("bending.admin." + getName())) {
|
||||||
sender.sendMessage(ChatColor.RED + "You don't have permission to use this command.");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
sender.sendMessage(ChatColor.RED + "You don't have permission to use this command.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue