mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-22 16:11:24 +01:00
Fix GameModePlaceholderTest
This commit is contained in:
parent
839f05de71
commit
17af44e67a
@ -94,6 +94,8 @@ public class GameModePlaceholderTest {
|
|||||||
when(user.getLocation()).thenReturn(location);
|
when(user.getLocation()).thenReturn(location);
|
||||||
when(im.getIslandAt(any())).thenReturn(Optional.of(island));
|
when(im.getIslandAt(any())).thenReturn(Optional.of(island));
|
||||||
when(user.isPlayer()).thenReturn(true);
|
when(user.isPlayer()).thenReturn(true);
|
||||||
|
// Max members
|
||||||
|
when(im.getMaxMembers(island, RanksManager.MEMBER_RANK)).thenReturn(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user