Fix tests.

This commit is contained in:
tastybento 2021-02-28 15:24:29 -08:00
parent 6309c675d4
commit bae0e6c36f

View File

@ -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);