Changed the Parts and Material enum to be more java compliant.
Renamed Dense Cables to Dense Smart Cables.
This commit is contained in:
@@ -55,7 +55,7 @@ public class PartDenseCable extends PartCable
|
||||
@Override
|
||||
public AECableType getCableConnectionType()
|
||||
{
|
||||
return AECableType.DENSE;
|
||||
return AECableType.DENSE_SMART;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -152,7 +152,7 @@ public class PartDenseCable extends PartCable
|
||||
if( te instanceof IGridHost )
|
||||
{
|
||||
final AECableType t = ( (IGridHost) te ).getCableConnectionType( of.getOpposite() );
|
||||
return t == AECableType.DENSE;
|
||||
return t == AECableType.DENSE_SMART;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user