mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-26 15:06:28 +01:00
Worlds are bigger now pt 2
- Stop clamping Y in [0, 256)
This commit is contained in:
parent
20eb73025c
commit
43289c3579
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue