Fixes facade stilts sometimes being rendered using the facade texture's tint.
This commit is contained in:
@@ -174,6 +174,9 @@ public class FacadeBuilder
|
|||||||
|
|
||||||
builder.setDrawFaces( EnumSet.allOf( EnumFacing.class ) );
|
builder.setDrawFaces( EnumSet.allOf( EnumFacing.class ) );
|
||||||
|
|
||||||
|
// Reset to no color multiplicator
|
||||||
|
builder.setColorRGB( 0xFFFFFF );
|
||||||
|
|
||||||
// We only render the stilt if we don't intersect with any part directly, and if there's no part on our side
|
// We only render the stilt if we don't intersect with any part directly, and if there's no part on our side
|
||||||
if( renderStilt && busBounds == null && layer == BlockRenderLayer.CUTOUT )
|
if( renderStilt && busBounds == null && layer == BlockRenderLayer.CUTOUT )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user