fix avoided blocks with new method
This commit is contained in:
@@ -373,9 +373,9 @@ public class LodBuilder
|
||||
// snow, flowers, etc. Get the above block so we can still get the color
|
||||
// of the snow, flower, etc. that may be above this block
|
||||
int aboveColorInt = 0;
|
||||
IBlockShapeWrapper block = chunk.getBlockShapeWrapper(x, y, z);
|
||||
if ((config.client().worldGenerator().getBlocksToAvoid().nonFull && block.isNonFull())
|
||||
|| (config.client().worldGenerator().getBlocksToAvoid().noCollision && block.hasNoCollision()))
|
||||
IBlockShapeWrapper block = chunk.getBlockShapeWrapper(x, y + 1, z);
|
||||
if (block != null && ((config.client().worldGenerator().getBlocksToAvoid().nonFull && block.isNonFull())
|
||||
|| (config.client().worldGenerator().getBlocksToAvoid().noCollision && block.hasNoCollision())))
|
||||
aboveColorInt = getColorForBlock(chunk, x, y + 1, z);
|
||||
|
||||
//if (colorInt == 0 && yAbs > 0)
|
||||
|
||||
Reference in New Issue
Block a user