mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-30 21:17:53 +01:00
Insert barrier
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
d9c32fe198
commit
ecd2200e1a
@ -38,6 +38,7 @@ public final class TickThread extends Thread {
|
||||
|
||||
void startTick(@NotNull Runnable runnable) {
|
||||
this.tickRunnable = runnable;
|
||||
this.stop = false;
|
||||
LockSupport.unpark(this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user