From f6fec5667745cd6eb7bce42fe5be2bbd0a9bad83 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Tue, 21 Jun 2016 00:29:39 +1000 Subject: [PATCH] Potential fix for terrain 3 worlds. --- .../intellectualcrafters/plot/generator/AugmentedUtils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java b/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java index feb805925..fc03bb4cf 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/generator/AugmentedUtils.java @@ -140,7 +140,9 @@ public class AugmentedUtils { generator.generateChunk(scoped, area, r); generator.populateChunk(scoped, area, r); } - queue.flush(); + if (queue != null) { + queue.flush(); + } return toReturn; } }