Fixes #2577: Use the item stacks color handler to color tinted quads of the block model.
This commit is contained in:
@@ -1261,12 +1261,12 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
||||
IFacadePart facade = getFacade( side.ordinal() );
|
||||
if( facade != null )
|
||||
{
|
||||
|
||||
ItemStack textureItem = facade.getTextureItem();
|
||||
IBlockState blockState = facade.getBlockState();
|
||||
if( blockState != null )
|
||||
if( blockState != null && textureItem != null )
|
||||
{
|
||||
EnumSet<EnumFacing> openFaces = calculateFaceOpenFaces( side );
|
||||
return new FacadeRenderState( blockState, openFaces );
|
||||
return new FacadeRenderState( blockState, openFaces, textureItem );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user