From b3ddabda29a5b21d9f4ea529f4a597442f3d6833 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Fri, 24 Jul 2020 18:20:26 +0100 Subject: [PATCH] Fix DelegateQueueCoordinator --- .../plotsquared/core/queue/DelegateQueueCoordinator.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Core/src/main/java/com/plotsquared/core/queue/DelegateQueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/DelegateQueueCoordinator.java index 7a97f4c39..6520a64fc 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/DelegateQueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/DelegateQueueCoordinator.java @@ -176,6 +176,13 @@ public class DelegateQueueCoordinator extends QueueCoordinator { } } + @Override public Runnable getCompleteTask() { + if (parent != null) { + return parent.getCompleteTask(); + } + return null; + } + @Override public void setCompleteTask(Runnable whenDone) { if (parent != null) { parent.setCompleteTask(whenDone);