From 184c86bafe5c4968b4b8ce1f915ececfbca63050 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 4 Sep 2021 17:21:25 -0700 Subject: [PATCH] Go command was not working second time. --- .../world/bentobox/bentobox/managers/IslandsManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java b/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java index e0cad8436..b7c433759 100644 --- a/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java +++ b/src/main/java/world/bentobox/bentobox/managers/IslandsManager.java @@ -1161,9 +1161,10 @@ public class IslandsManager { // Set the game mode user.setGameMode(plugin.getIWM().getDefaultGameMode(world)); - // Remove from mid-teleport set - goingHome.remove(user.getUniqueId()); + } + // Remove from mid-teleport set + goingHome.remove(user.getUniqueId()); } /**