mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
init script engine on get
This commit is contained in:
parent
2c82d1106a
commit
dbe965e901
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ public class DebugExec extends SubCommand {
|
|||
}
|
||||
|
||||
public ScriptEngine getEngine() {
|
||||
if (this.engine == null) {
|
||||
init();
|
||||
}
|
||||
return this.engine;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue