Remove unnecessary permission check method

This commit is contained in:
gravitylow committed 2014-01-20 02:44:57 -05:00
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;
}
}
}