OpenCubicChunks / CubicChunks

Infinite* height mod for Minecraft
MIT License
536 stars 69 forks source link

Fix wrong calculation of required amount of ExtendedBlockStorage's #776

Open hohserg1 opened 9 months ago

hohserg1 commented 9 months ago

Case: World#getMinHeight == 1, World#getMaxHeight == 17, it required 2 length of storageArrays but previous code of modifySectionArrayLength will give only 1 lenght. This pr about support of cases when getMaxHeight returns not first block of next unused cube, which probably may be.