Fix home nulls (#2355)

* Add null checking

* Sanity check for moduleManager
This commit is contained in:
Thoronium
2023-09-11 23:07:17 -06:00
committed by GitHub
Unverified
parent 8de281d4da
commit 5fd31aece8
2 changed files with 16 additions and 0 deletions
@@ -29,6 +29,9 @@ public class HomeWorld extends World {
@Override
public boolean onTick() {
if (this.moduleManager == null) {
return false;
}
this.moduleManager.tick();
if (this.getTickCount() % 10 == 0) {