Fixed Bug: #1055 - Some texture issue
This commit is contained in:
parent
5b79ad0b8c
commit
3329d9455b
|
@ -601,9 +601,10 @@ public class PartCable extends AEBasePart implements IPartCable
|
|||
|
||||
rh.setTexture( getTexture( getCableColor() ) );
|
||||
}
|
||||
else if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) == AECableType.COVERED && ccph.getColor() != AEColor.Transparent )
|
||||
else if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) == AECableType.COVERED && ccph.getColor() != AEColor.Transparent
|
||||
&& ccph.getPart( of.getOpposite() ) == null )
|
||||
rh.setTexture( getCoveredTexture( ccph.getColor() ) );
|
||||
else if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) == AECableType.SMART )
|
||||
else if ( ghh != null && ccph != null && ghh.getCableConnectionType( of ) == AECableType.SMART && ccph.getPart( of.getOpposite() ) == null )
|
||||
{
|
||||
isSmart = true;
|
||||
rh.setTexture( getSmartTexture( getCableColor() ) );
|
||||
|
|
Loading…
Reference in a new issue