Removed Old RF Api.

This commit is contained in:
AlgorithmX2
2014-05-09 09:42:52 -05:00
parent 5675f5c5fd
commit 98fc460da0
5 changed files with 22 additions and 26 deletions
+3 -8
View File
@@ -236,7 +236,7 @@ public class PartP2PRFPower extends PartP2PTunnel<PartP2PRFPower> implements cof
cachedTarget = true;
}
if ( outputTarget == null )
if ( outputTarget == null || !outputTarget.canConnectEnergy( side.getOpposite() ) )
return myNullHandler;
return outputTarget;
@@ -244,14 +244,9 @@ public class PartP2PRFPower extends PartP2PTunnel<PartP2PRFPower> implements cof
return myNullHandler;
}
@Deprecated
public boolean canInterface(ForgeDirection from)
@Override
public boolean canConnectEnergy(ForgeDirection from)
{
return true;
}
@Override
public boolean canConnectEnergy(ForgeDirection from) {
return true;
}
}