mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-07 08:58:27 +01:00
Fix test
This commit is contained in:
parent
9220f9652b
commit
c85f3b9af2
@ -557,7 +557,7 @@ public class PortalTeleportationListenerTest {
|
||||
Location center = mock(Location.class);
|
||||
when(center.getBlockX()).thenReturn(200);
|
||||
when(center.getBlockZ()).thenReturn(200);
|
||||
when(island.getCenter()).thenReturn(center);
|
||||
when(island.getProtectionCenter()).thenReturn(center);
|
||||
when(island.getProtectionRange()).thenReturn(200);
|
||||
PortalTeleportationListener np = new PortalTeleportationListener(plugin);
|
||||
when(from.getBlockZ()).thenReturn(205);
|
||||
|
Loading…
Reference in New Issue
Block a user