case REMOVE:
if (group != null) {
if(!Depends.permissions.groupHas(bukkitWorld, group.asString(), permission.asString()))
dB.echoDebug(scriptEntry, "Group " + group + " does not have access to permission " + permission);
else
Depends.permissions.groupRemove(bukkitWorld, group.asString(), permission.asString());
} else {
if(!Depends.permissions.playerHas(bukkitWorld == null ? null: bukkitWorld.getName(), player, permission.asString()))
dB.echoDebug(scriptEntry, "Player " + player.getName() + " does not have access to permission " + permission);
else
Depends.permissions.playerRemove(bukkitWorld == null ? null: bukkitWorld.getName(), player, permission.asString());