From a3a4a70921bbad0ed4590ab47437eacd58d5e658 Mon Sep 17 00:00:00 2001 From: tastybento Date: Fri, 1 Mar 2024 21:51:10 -0800 Subject: [PATCH] Fix NPE #2310 --- .../bentobox/api/commands/island/team/IslandTeamCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamCommand.java b/src/main/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamCommand.java index 099886ef8..97e65eeda 100644 --- a/src/main/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamCommand.java +++ b/src/main/java/world/bentobox/bentobox/api/commands/island/team/IslandTeamCommand.java @@ -302,8 +302,7 @@ private PanelItem createInvitedButton(ItemTemplateRecord template, TemplatedPane 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);