diff --git a/common/buildcraft/api/power/IPowerReceptor.java b/common/buildcraft/api/power/IPowerReceptor.java index 535f5049..661145e0 100644 --- a/common/buildcraft/api/power/IPowerReceptor.java +++ b/common/buildcraft/api/power/IPowerReceptor.java @@ -19,6 +19,6 @@ public interface IPowerReceptor { public void doWork(); - public int powerRequest(ForgeDirection validDirections); + public int powerRequest(ForgeDirection from); } diff --git a/common/buildcraft/transport/PipeTransportPower.java b/common/buildcraft/transport/PipeTransportPower.java index 3c3e2a0e..4e4d2af7 100644 --- a/common/buildcraft/transport/PipeTransportPower.java +++ b/common/buildcraft/transport/PipeTransportPower.java @@ -161,7 +161,7 @@ public class PipeTransportPower extends PipeTransport { for (int i = 0; i < 6; ++i) { if (tiles[i] instanceof IPowerReceptor && !(tiles[i] instanceof TileGenericPipe)) { IPowerReceptor receptor = (IPowerReceptor) tiles[i]; - int request = receptor.powerRequest(ForgeDirection.VALID_DIRECTIONS[i]); + int request = receptor.powerRequest(ForgeDirection.VALID_DIRECTIONS[i].getOpposite()); if (request > 0) { requestEnergy(ForgeDirection.VALID_DIRECTIONS[i], request);