mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-25 12:15:12 +01:00
Merge branch 'develop' into multipaper
This commit is contained in:
commit
c3e25bec3f
@ -95,7 +95,7 @@ public class IslandTeamKickCommand extends ConfirmableCommand {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
User target = User.getInstance(targetUUID);
|
User target = User.getInstance(targetUUID);
|
||||||
Island oldIsland = Objects.requireNonNull(getIslands().getIsland(getWorld(), targetUUID)); // Should never be
|
Island oldIsland = Objects.requireNonNull(getIslands().getIsland(getWorld(), user)); // Should never be
|
||||||
// null because of
|
// null because of
|
||||||
// checks above
|
// checks above
|
||||||
// Fire event
|
// Fire event
|
||||||
|
Loading…
Reference in New Issue
Block a user