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