We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b731462 commit 1ca63b5Copy full SHA for 1ca63b5
1 file changed
src/main/java/net/minestom/testing/EnvImpl.java
@@ -20,6 +20,9 @@ final class EnvImpl implements Env {
20
public EnvImpl(ServerProcess process) {
21
this.process = process;
22
23
+ // Start the dispatcher threads if not already started.
24
+ process().dispatcher().start();
25
+
26
// Use player provider to disable queued chunk sending.
27
// Set here to allow an individual test to override if they want.
28
process.connection().setPlayerProvider(TestPlayerImpl::new);
@@ -108,4 +111,4 @@ void check() {
108
111
assertTrue(!initialized || called, "Last listener has not been called: " + eventType.getSimpleName());
109
112
}
110
113
-}
114
+}
0 commit comments