mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +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() {
|
||||
if (this.engine == null) {
|
||||
init();
|
||||
}
|
||||
return this.engine;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user