init script engine on get

This commit is contained in:
Jesse Boyd 2016-06-24 15:41:27 +10:00
parent 2c82d1106a
commit dbe965e901

View File

@ -84,6 +84,9 @@ public class DebugExec extends SubCommand {
} }
public ScriptEngine getEngine() { public ScriptEngine getEngine() {
if (this.engine == null) {
init();
}
return this.engine; return this.engine;
} }