mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Null check tick thread (#1812)
This commit is contained in:
parent
0641800be7
commit
92c86cf15b
1 changed files with 3 additions and 1 deletions
|
@ -595,7 +595,9 @@ public class GeyserSession implements CommandSender {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (tickThread != null) {
|
||||||
tickThread.cancel(true);
|
tickThread.cancel(true);
|
||||||
|
}
|
||||||
|
|
||||||
this.chunkCache = null;
|
this.chunkCache = null;
|
||||||
this.entityCache = null;
|
this.entityCache = null;
|
||||||
|
|
Loading…
Reference in a new issue