mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Remove unnecessary permission check method
This commit is contained in:
1 parent
706a9df225
commit
478e325026
1 file changed
-9
@@ -99,13 +99,4 @@ public class CommandBase {
|
||||
public Permission getPermission() {
|
||||
return permission;
|
||||
}
|
||||
|
||||
public boolean hasPermission(CommandSender cs) {
|
||||
if (permission.get(cs)) {
|
||||
return true;
|
||||
} else {
|
||||
cs.sendMessage(PERMISSIONS_ERROR + " (" + WHITE + permission.toString() + RED + ")");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user