Worlds are bigger now

- Stop clamping Y in [0, 256)
This commit is contained in:
Jozufozu 2021-12-10 00:28:32 -08:00
parent c0d5c32766
commit 20eb73025c

View File

@ -111,7 +111,7 @@ public interface ImmutableBox {
if (empty()) return; if (empty()) return;
for (int x = getMinX(); x < getMaxX(); x++) { for (int x = getMinX(); x < getMaxX(); x++) {
for (int y = Math.max(getMinY(), 0); y < Math.min(getMaxY(), 255); y++) { // clamp to world height limits for (int y = getMinY(); y < getMaxY(); y++) {
for (int z = getMinZ(); z < getMaxZ(); z++) { for (int z = getMinZ(); z < getMaxZ(); z++) {
func.consume(x, y, z); func.consume(x, y, z);
} }