mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 23:10:00 +08:00
Fix home nulls (#2355)
* Add null checking * Sanity check for moduleManager
This commit is contained in:
committed by
GitHub
Unverified
parent
8de281d4da
commit
5fd31aece8
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user