Fix min -> max

This commit is contained in:
dordsor21 2022-02-11 13:32:23 +00:00 committed by Jordan
parent bbe31379e8
commit dc6d0e089f

View File

@ -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;
}
}