Prevent weird crashing if there was an error loading scripts

This commit is contained in:
Melledy 2022-04-29 01:15:40 -07:00
parent 14b6d3ce55
commit 3af5d20473

View File

@ -151,7 +151,9 @@ public class SceneScriptManager {
this.blocks = blocks; this.blocks = blocks;
} catch (ScriptException e) { } catch (ScriptException e) {
Grasscutter.getLogger().error("Error running script", e); Grasscutter.getLogger().error("Error running script", e);
return;
} }
// TEMP // TEMP
this.isInit = true; this.isInit = true;
} }