[Fixed] Island Scan MinY Level fixed. Instead of 0 it will now fetch from World.MinHeight.

This commit is contained in:
TeamHR 2024-03-26 16:43:25 +05:30 committed by Christian Koop
parent 373d5267d4
commit 389b9087fd
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3

View File

@ -114,7 +114,7 @@ public final class BlockScanner extends BukkitRunnable {
if (ignoreY) {
startY = world.getMaxHeight();
} else {
startY = !ignoreLiquidsY && liquidSection.getBoolean("Enable") && !config.getBoolean("Island.Levelling.ScanLiquid") ? liquidSection.getInt("Height") + 1 : 0;
startY = !ignoreLiquidsY && liquidSection.getBoolean("Enable") && !config.getBoolean("Island.Levelling.ScanLiquid") ? liquidSection.getInt("Height") + 1 : world.getMinHeight();
}
for (List<CachedChunk> sub : parts) {