Null check tick thread (#1812)

This commit is contained in:
Camotoy 2021-01-05 23:28:31 -05:00 committed by GitHub
parent 0641800be7
commit 92c86cf15b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;