From 9450ef844fa142807e512a3f431e3218270c80bb Mon Sep 17 00:00:00 2001 From: Evgeniy Zhabotinsky Date: Mon, 18 Jan 2016 21:22:36 +0300 Subject: [PATCH] Fixed #174. --- .../moe/nightfall/vic/integratedcircuits/tile/BlockSocket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/moe/nightfall/vic/integratedcircuits/tile/BlockSocket.java b/src/main/java/moe/nightfall/vic/integratedcircuits/tile/BlockSocket.java index e6a9617..fd6da3f 100644 --- a/src/main/java/moe/nightfall/vic/integratedcircuits/tile/BlockSocket.java +++ b/src/main/java/moe/nightfall/vic/integratedcircuits/tile/BlockSocket.java @@ -200,7 +200,7 @@ public int isProvidingStrongPower(IBlockAccess world, int x, int y, int z, int s if ((side & 6) == (socket.getSide() & 6)) return 0; int rot = socket.getSideRel(side); - if (!socket.getConnectionTypeAtSide(side).isRedstone()) + if (!socket.getConnectionTypeAtSide(rot).isRedstone()) return 0; return socket.getRedstoneOutput(rot);