mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 20:45:59 +01:00
Worlds are bigger now
- Stop clamping Y in [0, 256)
This commit is contained in:
parent
99e15cbcd9
commit
931fffb5f1
@ -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