diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/DebugExec.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/DebugExec.java index c5be5cb29..8ddd4a64d 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/DebugExec.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/DebugExec.java @@ -84,6 +84,9 @@ public class DebugExec extends SubCommand { } public ScriptEngine getEngine() { + if (this.engine == null) { + init(); + } return this.engine; } diff --git a/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridUtils.java b/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridUtils.java index ecb6b5b1d..456129214 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridUtils.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/generator/HybridUtils.java @@ -447,10 +447,10 @@ public abstract class HybridUtils { } } } + queue.enqueue(); return true; } } - queue.enqueue(); return false; } }