mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-13 05:54:01 +01:00
Worlds are bigger now pt 2
- Stop clamping Y in [0, 256)
This commit is contained in:
parent
931fffb5f1
commit
fd8d436640
@ -389,7 +389,7 @@ public class GridAlignedBB implements ImmutableBox {
|
|||||||
if (empty()) return;
|
if (empty()) return;
|
||||||
|
|
||||||
for (int x = minX; x < maxX; x++) {
|
for (int x = minX; x < maxX; x++) {
|
||||||
for (int y = Math.max(minY, 0); y < Math.min(maxY, 255); y++) { // clamp to world height limits
|
for (int y = minY; y < maxY; y++) {
|
||||||
for (int z = minZ; z < maxZ; z++) {
|
for (int z = minZ; z < maxZ; z++) {
|
||||||
func.consume(x, y, z);
|
func.consume(x, y, z);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user