mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 01:22:54 +00:00
Prevent weird crashing if there was an error loading scripts
This commit is contained in:
parent
14b6d3ce55
commit
3af5d20473
@ -151,7 +151,9 @@ public class SceneScriptManager {
|
||||
this.blocks = blocks;
|
||||
} catch (ScriptException e) {
|
||||
Grasscutter.getLogger().error("Error running script", e);
|
||||
return;
|
||||
}
|
||||
|
||||
// TEMP
|
||||
this.isInit = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user