Address inclusivity issues for max world height

This commit is contained in:
dordsor21
2022-02-07 00:02:27 +00:00
committed by Jordan
parent f45fb8fd6f
commit e45b2ba288
6 changed files with 7 additions and 7 deletions

View File

@ -215,8 +215,8 @@ public class HybridUtils {
int xx = chunkBlockX + x;
for (int z = minZ; z <= maxZ; z++) {
int zz = chunkBlockZ + z;
for (int yIndex = 0; yIndex < minHeight; yIndex++) {
int y = yIndex - minHeight;
for (int yIndex = 0; yIndex < height; yIndex++) {
int y = yIndex + minHeight;
BlockState block = queue.getBlock(xx, y, zz);
int xr = xb + x;
int zr = zb + z;