Safety EntityTracker (not really), workaround #7

This commit is contained in:
Sotr
2018-06-10 16:13:38 +08:00
parent 5a90c8d8fd
commit 1bd0498f86
4 changed files with 340 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ public abstract class Akari {
/**
* A common tick pool
*/
public static final ExecutorCompletionService<?> STAGE_TICK = new ExecutorCompletionService<>(Executors.newFixedThreadPool(1, Akari.STAGE_FACTORY));
public static final ExecutorCompletionService<?> STAGE_TICK = new ExecutorCompletionService<>(Executors.newSingleThreadExecutor(Akari.STAGE_FACTORY));
/*
* The unsafe