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 9cc130690..35e7eb7ac 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java @@ -79,7 +79,10 @@ public abstract class QueueCoordinator { */ @Deprecated(forRemoval = true, since = "TODO") public ScopedQueueCoordinator getForChunk(int x, int z) { - return getForChunk(x, z, 0, 255); + if (getWorld() == null) { + return getForChunk(x, z, 0, 255); + } + return getForChunk(x, z, getWorld().getMinY(), getWorld().getMaxY()); } /**