Fixed minor issue with cable rendering when P2P was involved.
This commit is contained in:
parent
024f3ce739
commit
1b77755dd6
|
@ -636,7 +636,8 @@ public class PartCable extends AEBasePart implements IPartCable
|
|||
rh.setTexture( getTexture( getCableColor() ) );
|
||||
}
|
||||
|
||||
else if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) != AECableType.GLASS && ccph.getColor() != AEColor.Transparent )
|
||||
else if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) != AECableType.GLASS && ccph.getColor() != AEColor.Transparent
|
||||
&& ccph.getPart( of.getOpposite() ) == null )
|
||||
rh.setTexture( getSmartTexture( myColor = ccph.getColor() ) );
|
||||
else
|
||||
rh.setTexture( getSmartTexture( getCableColor() ) );
|
||||
|
|
Loading…
Reference in a new issue