mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-28 05:44:59 +01:00
Worlds are bigger now
- Stop clamping Y in [0, 256)
This commit is contained in:
parent
c0d5c32766
commit
20eb73025c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue