mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 21:55:19 +01:00
Remove player from island, not all islands when kicked.
This commit is contained in:
parent
5834dcbb59
commit
e7055c6cba
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user