From 0e833de22a5932e8d5ad28dd9af8d088ce4d2b15 Mon Sep 17 00:00:00 2001 From: tastybento Date: Mon, 26 Feb 2024 13:47:56 -0800 Subject: [PATCH 1/2] Update pom.xml Version 2.1.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 388e3c60d..49c1bd3c9 100644 --- a/pom.xml +++ b/pom.xml @@ -88,7 +88,7 @@ -LOCAL - 2.1.0 + 2.1.1 bentobox-world https://sonarcloud.io ${project.basedir}/lib From a3a4a70921bbad0ed4590ab47437eacd58d5e658 Mon Sep 17 00:00:00 2001 From: tastybento Date: Fri, 1 Mar 2024 21:51:10 -0800 Subject: [PATCH 2/2] 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 @@ 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);