From dc6d0e089f210abcb4001c46dddda83a3a427410 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Fri, 11 Feb 2022 13:32:23 +0000 Subject: [PATCH] Fix min -> max --- .../main/java/com/plotsquared/core/queue/QueueCoordinator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java index f0c7802e8..1d3e8ebe2 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java @@ -506,7 +506,7 @@ public abstract class QueueCoordinator { * Get the max chunk layer associated with the queue. Usually 15 or 19 */ protected int getMaxLayer() { - return (getWorld() != null ? getWorld().getMinY() : PlotSquared.platform().versionMaxHeight()) >> 4; + return (getWorld() != null ? getWorld().getMaxY() : PlotSquared.platform().versionMaxHeight()) >> 4; } }