Skip to content

Commit

Permalink
Remove player from island, not all islands when kicked.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Apr 9, 2024
1 parent 5834dcb commit e7055c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ protected boolean kick(User user, UUID targetUUID) {
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);

Expand Down

0 comments on commit e7055c6

Please sign in to comment.