add missing brackets

This commit is contained in:
James Seibel
2024-07-23 20:41:22 -05:00
parent b4b1a2a549
commit 2763a7ca75
@@ -136,7 +136,9 @@ public class ColumnBox
if (adjCol == null)
{
if (!isTransparent || overVoid)
{
builder.addQuadAdj(EDhDirection.SOUTH, x, minY, maxZ, xSize, ySize, color, irisBlockMaterialId, LodUtil.MAX_MC_LIGHT, blockLight);
}
}
else
{
@@ -153,7 +155,9 @@ public class ColumnBox
if (adjCol == null)
{
if (!isTransparent || overVoid)
{
builder.addQuadAdj(EDhDirection.WEST, x, minY, z, zSize, ySize, color, irisBlockMaterialId, LodUtil.MAX_MC_LIGHT, blockLight);
}
}
else
{
@@ -170,7 +174,9 @@ public class ColumnBox
if (adjData[EDhDirection.EAST.ordinal() - 2] == null)
{
if (!isTransparent || overVoid)
{
builder.addQuadAdj(EDhDirection.EAST, maxX, minY, z, zSize, ySize, color, irisBlockMaterialId, LodUtil.MAX_MC_LIGHT, blockLight);
}
}
else
{
@@ -181,7 +187,7 @@ public class ColumnBox
}
}
// the overlap color can be used to see faces that shouldn't be rendered
/** the overlap color can be used to see faces that shouldn't be rendered */
private static void makeAdjVerticalQuad(
LodQuadBuilder builder, ColumnArrayView adjColumnView, EDhDirection direction,
short x, short yMin, short z, short horizontalWidth, short ySize,