Dense Cables now use Simplified Lighting Model.

This commit is contained in:
AlgorithmX2 2014-09-12 13:27:04 -05:00
parent d0e648f5db
commit 639f99e6ce

View file

@ -320,6 +320,7 @@ public class PartDenseCable extends PartCable
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer) public void renderStatic(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer)
{ {
renderCache = rh.useSimpliedRendering( x, y, z, this, renderCache );
rh.setTexture( getTexture( getCableColor() ) ); rh.setTexture( getTexture( getCableColor() ) );
EnumSet<ForgeDirection> sides = connections.clone(); EnumSet<ForgeDirection> sides = connections.clone();