Updated RF Api ( should work for old api too - at least temporary ).

This commit is contained in:
AlgorithmX2
2014-05-06 18:09:31 -05:00
parent 50aa0b9062
commit 5bf8e9d7d0
3 changed files with 28 additions and 13 deletions
+6 -1
View File
@@ -34,8 +34,13 @@ public abstract class RedstoneFlux extends RotaryCraft implements IEnergyHandler
return 0;
}
@Override
@Deprecated
final public boolean canInterface(ForgeDirection from)
{
return canConnectEnergy(from);
}
final public boolean canConnectEnergy(ForgeDirection from)
{
return internalCanAcceptPower && getPowerSides().contains( from );
}