mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 20:45:59 +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;
|
||||
|
||||
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