mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 00:12:29 +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;
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user