Revert "attempt to fix generation below y=0"

This reverts commit 4dd51022fa.
This commit is contained in:
cola98765
2021-12-12 00:23:06 +01:00
parent 4dd51022fa
commit e29ec2dea6
@@ -88,7 +88,6 @@ public class ChunkWrapper implements IChunkWrapper
@Override
public IBlockShapeWrapper getBlockShapeWrapper(int x, int y, int z)
{
if (y < 0) y = 0; //TODO replace with value from version specific constants
Block block = chunk.getSections()[y >> CHUNK_SECTION_SHIFT].getBlockState(x & CHUNK_SIZE_MASK, y & CHUNK_SECTION_MASK, z & CHUNK_SIZE_MASK).getBlock();
return BlockShapeWrapper.getBlockShapeWrapper(block, this, x, y, z);
}