mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 06:24:12 +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;
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user