From 1b77755dd660f8fdc27b0a29d1996ee9fd434664 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Tue, 21 Jan 2014 22:53:04 -0600 Subject: [PATCH] Fixed minor issue with cable rendering when P2P was involved. --- parts/networking/PartCable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parts/networking/PartCable.java b/parts/networking/PartCable.java index e240cb76..3cddf407 100644 --- a/parts/networking/PartCable.java +++ b/parts/networking/PartCable.java @@ -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() ) );