From 2fc3396a8f5ad42aacd244e42f1be59761af8595 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 18 May 2024 20:08:21 -0700 Subject: [PATCH] Remove debug code that slipped in. --- .../world/bentobox/bentobox/managers/island/NewIsland.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/managers/island/NewIsland.java b/src/main/java/world/bentobox/bentobox/managers/island/NewIsland.java index c3bc4eb92..bb4f2cb22 100644 --- a/src/main/java/world/bentobox/bentobox/managers/island/NewIsland.java +++ b/src/main/java/world/bentobox/bentobox/managers/island/NewIsland.java @@ -227,9 +227,6 @@ public class NewIsland { * @param oldIsland - old island that will be deleted */ private void postCreationTask(Island oldIsland) { - if (oldIsland == null) { - return; - } // Set initial spawn point if one exists if (island.getSpawnPoint(Environment.NORMAL) != null) { plugin.getIslands().setHomeLocation(user, island.getSpawnPoint(Environment.NORMAL));