mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
Worlds are bigger now
- Stop clamping Y in [0, 256)
This commit is contained in:
parent
c0d5c32766
commit
20eb73025c
@ -111,7 +111,7 @@ public interface ImmutableBox {
|
||||
if (empty()) return;
|
||||
|
||||
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++) {
|
||||
func.consume(x, y, z);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user