mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-23 16:41:42 +01:00
Fix NPE #2310
This commit is contained in:
parent
0e833de22a
commit
a3a4a70921
@ -302,8 +302,7 @@ public class IslandTeamCommand extends CompositeCommand {
|
||||
return true;
|
||||
}
|
||||
if (clickType.equals(ClickType.SHIFT_LEFT) && user.hasPermission(this.acceptCommand.getPermission())) {
|
||||
getPlugin().log("Invite accepted: " + user.getName() + " accepted " + invite.getType()
|
||||
+ " invite to island at " + island.getCenter());
|
||||
getPlugin().log("Invite accepted: " + user.getName() + " accepted " + invite.getType());
|
||||
// Accept
|
||||
switch (invite.getType()) {
|
||||
case COOP -> this.acceptCommand.acceptCoopInvite(user, invite);
|
||||
|
Loading…
Reference in New Issue
Block a user