From 8a5fb59a7e8875bfe2387daaec98f7009e24cba7 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 11 Mar 2017 23:23:57 +1100 Subject: [PATCH] endSet for manual queue flushing --- core/src/main/java/com/boydti/fawe/util/SetQueue.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/boydti/fawe/util/SetQueue.java b/core/src/main/java/com/boydti/fawe/util/SetQueue.java index 62778c7f..f79d8c72 100644 --- a/core/src/main/java/com/boydti/fawe/util/SetQueue.java +++ b/core/src/main/java/com/boydti/fawe/util/SetQueue.java @@ -230,6 +230,7 @@ public class SetQueue { queue.setStage(QueueStage.NONE); queue.runTasks(); } + queue.endSet(Settings.IMP.QUEUE.PARALLEL_THREADS > 1); } public FaweQueue getNextQueue() {