mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-25 09:59:15 +00:00
marks AsyncGoalThread non-daemon
This commit is contained in:
@@ -11,7 +11,7 @@ public class AsyncGoalThread extends Thread {
|
||||
|
||||
public AsyncGoalThread(final MinecraftServer server) {
|
||||
super(() -> run(server), "Leaf Async Goal Thread");
|
||||
this.setDaemon(true);
|
||||
this.setDaemon(false);
|
||||
this.setUncaughtExceptionHandler(Util::onThreadException);
|
||||
this.setPriority(Thread.NORM_PRIORITY - 1);
|
||||
this.start();
|
||||
|
||||
Reference in New Issue
Block a user