Ops.
This commit is contained in:
@@ -28,16 +28,10 @@ public class LodDataBuilder {
|
||||
byte light = (byte) ((chunkWrapper.getBlockLight(x,lastY+1,z) << 4) + chunkWrapper.getSkyLight(x,lastY+1,z));
|
||||
|
||||
int y=chunkWrapper.getLightBlockingHeightMapValue(x, z);
|
||||
int top = y;
|
||||
|
||||
for (; y>=chunkWrapper.getMinBuildHeight(); y--) {
|
||||
IBiomeWrapper newBiome = chunkWrapper.getBiome(x, y, z);
|
||||
IBlockStateWrapper newBlockState = chunkWrapper.getBlockState(x, y, z);
|
||||
|
||||
if (top == 30 && y == 29 && chunkWrapper.getSkyLight(x,y+1,z) == 0)
|
||||
{
|
||||
int a = 0;
|
||||
}
|
||||
byte newLight = (byte) ((chunkWrapper.getBlockLight(x,y+1,z) << 4) + chunkWrapper.getSkyLight(x,y+1,z));
|
||||
|
||||
if (!newBiome.equals(biome) || !newBlockState.equals(blockState)) {
|
||||
|
||||
Reference in New Issue
Block a user