Fix incorrect check

This commit is contained in:
raoulvdberge
2017-03-01 14:40:03 +01:00
parent dc37a590e3
commit 459b1cc931

View File

@@ -114,7 +114,7 @@ public class BlockCable extends BlockNode {
EnumFacing otherTileSide = direction.getOpposite();
if (otherTile != null && otherTile.hasCapability(CapabilityNetworkNodeProxy.NETWORK_NODE_PROXY_CAPABILITY, otherTileSide)) {
if (getPlacementType() != null && ((TileNode) tile).getNode().getHolder().getDirection() == direction.getOpposite()) {
if (getPlacementType() != null && ((TileNode) tile).getNode().getFacingTile() == otherTile) {
return false;
}