diff --git a/core/src/test/java/me/filoghost/holographicdisplays/core/test/Mocks.java b/core/src/test/java/me/filoghost/holographicdisplays/core/test/Mocks.java index af8034ed..f9e36f30 100644 --- a/core/src/test/java/me/filoghost/holographicdisplays/core/test/Mocks.java +++ b/core/src/test/java/me/filoghost/holographicdisplays/core/test/Mocks.java @@ -23,6 +23,7 @@ public class Mocks { SERVER_LOGGER = mock(Logger.class); SERVER = mock(Server.class); when(SERVER.getLogger()).thenReturn(SERVER_LOGGER); + when(SERVER.isPrimaryThread()).thenReturn(true); PLUGIN = mock(Plugin.class); when(PLUGIN.getName()).thenReturn("HolographicDisplays"); }