mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
init script engine on get
This commit is contained in:
parent
2c82d1106a
commit
dbe965e901
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user