diff --git a/src/test/java/world/bentobox/bentobox/managers/island/DefaultNewIslandLocationStrategyTest.java b/src/test/java/world/bentobox/bentobox/managers/island/DefaultNewIslandLocationStrategyTest.java index 903aa33cd..0c608b80f 100644 --- a/src/test/java/world/bentobox/bentobox/managers/island/DefaultNewIslandLocationStrategyTest.java +++ b/src/test/java/world/bentobox/bentobox/managers/island/DefaultNewIslandLocationStrategyTest.java @@ -91,6 +91,7 @@ public class DefaultNewIslandLocationStrategyTest { when(iwm.getIslandZOffset(eq(world))).thenReturn(0); when(iwm.getIslandStartX(eq(world))).thenReturn(1000); when(iwm.getIslandStartZ(eq(world))).thenReturn(11000); + when(iwm.isCheckForBlocks(eq(world))).thenReturn(true); // Island deletion manager when(plugin.getIslandDeletionManager()).thenReturn(idm); when(idm.inDeletion(any())).thenReturn(false);