From a73a9c4d74d6279f23e07a1c7e06727ec5a77d5f Mon Sep 17 00:00:00 2001 From: Martijn Muijsers Date: Tue, 31 Jan 2023 21:42:00 +0100 Subject: [PATCH] Use halted field instead of circular method reference --- ...BaseThread-PrioritisedQueueExecutorThread-agent-util.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/0154-BaseThread-PrioritisedQueueExecutorThread-agent-util.patch b/patches/server/0154-BaseThread-PrioritisedQueueExecutorThread-agent-util.patch index e1112cd..db13b20 100644 --- a/patches/server/0154-BaseThread-PrioritisedQueueExecutorThread-agent-util.patch +++ b/patches/server/0154-BaseThread-PrioritisedQueueExecutorThread-agent-util.patch @@ -7,7 +7,7 @@ License: GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) Gale - https://galemc.org diff --git a/src/main/java/ca/spottedleaf/concurrentutil/executor/standard/PrioritisedQueueExecutorThread.java b/src/main/java/ca/spottedleaf/concurrentutil/executor/standard/PrioritisedQueueExecutorThread.java -index 91fe0f7049122f62f05ba09c24cba5d758340cff..38da123e465130445ba094054bc5e9dc44d9c20d 100644 +index 91fe0f7049122f62f05ba09c24cba5d758340cff..a26735a795052d6770498561826e8c5c1bf9fa79 100644 --- a/src/main/java/ca/spottedleaf/concurrentutil/executor/standard/PrioritisedQueueExecutorThread.java +++ b/src/main/java/ca/spottedleaf/concurrentutil/executor/standard/PrioritisedQueueExecutorThread.java @@ -2,6 +2,7 @@ package ca.spottedleaf.concurrentutil.executor.standard; @@ -160,7 +160,7 @@ index 91fe0f7049122f62f05ba09c24cba5d758340cff..38da123e465130445ba094054bc5e9dc + + @Override + public boolean isHalted() { -+ return this.isHalted(); ++ return this.halted; + } + + @Override