From bbe31379e866c469f97c943bf490fb7d053b92af Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 9 Feb 2022 14:27:01 +0000 Subject: [PATCH] Use version min/max heights if world not present in QueueCoordinator --- .../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 7f01d7b90..f0c7802e8 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java @@ -80,7 +80,7 @@ public abstract class QueueCoordinator { @Deprecated(forRemoval = true, since = "TODO") public ScopedQueueCoordinator getForChunk(int x, int z) { if (getWorld() == null) { - return getForChunk(x, z, 0, 255); + return getForChunk(x, z, PlotSquared.platform().versionMinHeight(), PlotSquared.platform().versionMaxHeight()); } return getForChunk(x, z, getWorld().getMinY(), getWorld().getMaxY()); }