Dense Cables now use Simplified Lighting Model.
This commit is contained in:
parent
d0e648f5db
commit
639f99e6ce
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue