diff --git a/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java b/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java index 4e5229600..3ef0d17ff 100644 --- a/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java +++ b/src/main/java/emu/grasscutter/scripts/SceneScriptManager.java @@ -507,6 +507,12 @@ public class SceneScriptManager { .forEach( block -> { block.load(sceneId, meta.context); + if (block.groups == null) { + Grasscutter.getLogger() + .error("block.groups null for block {}", block.id); + return; + } + block.groups.values().stream() .filter(g -> !g.dynamic_load) .forEach(