Remove player from island, not all islands when kicked.

This commit is contained in:
tastybento 2024-04-08 21:53:18 -07:00
parent 5834dcbb59
commit e7055c6cba
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class IslandTeamKickCommand extends ConfirmableCommand {
getAddon().getDescription().getName(), TextVariables.NAME, user.getName(), TextVariables.DISPLAY_NAME,
user.getDisplayName());
getIslands().removePlayer(getWorld(), targetUUID);
getIslands().removePlayer(oldIsland, targetUUID);
// Clean the target player
getPlayers().cleanLeavingPlayer(getWorld(), target, true, oldIsland);