mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-14 07:55:57 +01:00
Prevent weird crashing if there was an error loading scripts
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user