Fix a few truncation and off by 1 errors

This commit is contained in:
James Seibel
2021-07-25 18:48:25 -05:00
parent 19fd1aff98
commit 99209f920d
2 changed files with 4 additions and 3 deletions
@@ -289,7 +289,7 @@ public class LodChunkBuilder
// enough blocks in this
// layer to count as an
// LOD point
return (short) (y + (section * CHUNK_SECTION_HEIGHT));
return (short) (y + 1 + (section * CHUNK_SECTION_HEIGHT));
}
}
}