This commit is contained in:
tastybento 2021-09-19 08:45:19 -07:00
parent 110a282deb
commit f6f5b63110
1 changed files with 2 additions and 2 deletions

View File

@ -46,12 +46,12 @@ public class AdminDeleteCommand extends ConfirmableCommand {
user.sendMessage("general.errors.player-has-no-island");
return false;
}
/*
// Team members should be kicked before deleting otherwise the whole team will become weird
if (getIslands().inTeam(getWorld(), targetUUID) && owner.equals(targetUUID)) {
user.sendMessage("commands.admin.delete.cannot-delete-owner");
return false;
}*/
}
return true;
}