From 792c40c49a37cfc042e1c5557863f9ff9072502b Mon Sep 17 00:00:00 2001 From: asiekierka Date: Wed, 29 Oct 2014 19:16:14 +0100 Subject: [PATCH] Revert "fix redstone input direction going in the wrong direction" This reverts commit 851d4478375755a47a9b47d5561c34098ea4d682. --- common/buildcraft/transport/BlockGenericPipe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/buildcraft/transport/BlockGenericPipe.java b/common/buildcraft/transport/BlockGenericPipe.java index bdbb5126..2a8d2f88 100644 --- a/common/buildcraft/transport/BlockGenericPipe.java +++ b/common/buildcraft/transport/BlockGenericPipe.java @@ -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]) {