mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Nvm, the barrier is not necessary
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
ecd2200e1a
commit
527141df74
@ -38,7 +38,6 @@ public final class TickThread extends Thread {
|
|||||||
|
|
||||||
void startTick(@NotNull Runnable runnable) {
|
void startTick(@NotNull Runnable runnable) {
|
||||||
this.tickRunnable = runnable;
|
this.tickRunnable = runnable;
|
||||||
this.stop = false;
|
|
||||||
LockSupport.unpark(this);
|
LockSupport.unpark(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user