Revert "fix redstone input direction going in the wrong direction"
This reverts commit 851d447837
.
This commit is contained in:
parent
3c21b9c2e6
commit
792c40c49a
1 changed files with 2 additions and 2 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Reference in a new issue