forked from GeyserMC/Geyser
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 {
|
|||
}
|
||||
}
|
||||
|
||||
tickThread.cancel(true);
|
||||
if (tickThread != null) {
|
||||
tickThread.cancel(true);
|
||||
}
|
||||
|
||||
this.chunkCache = null;
|
||||
this.entityCache = null;
|
||||
|
|
Loading…
Reference in a new issue