Revert "fix redstone input direction going in the wrong direction"

This reverts commit 851d447837.
This commit is contained in:
asiekierka 2014-10-29 19:16:14 +01:00
parent 3c21b9c2e6
commit 792c40c49a

View file

@ -662,8 +662,8 @@ public class BlockGenericPipe extends BlockBuildCraft {
for (int i = 0; i < ForgeDirection.VALID_DIRECTIONS.length; i++) {
ForgeDirection d = ForgeDirection.getOrientation(i);
pipe.container.redstoneInputSide[i] = Math.max(
world.isBlockProvidingPowerTo(x + d.offsetX, y + d.offsetY, z + d.offsetZ, i ^ 1),
world.getIndirectPowerLevelTo(x + d.offsetX, y + d.offsetY, z + d.offsetZ, i ^ 1)
world.isBlockProvidingPowerTo(x + d.offsetX, y + d.offsetY, z + d.offsetZ, i),
world.getIndirectPowerLevelTo(x + d.offsetX, y + d.offsetY, z + d.offsetZ, i)
);
if (pipe.container.redstoneInput < pipe.container.redstoneInputSide[i]) {