diff --git a/src/main/java/refinedstorage/block/BlockCable.java b/src/main/java/refinedstorage/block/BlockCable.java index 12b7e7e6f..bedd42bf5 100755 --- a/src/main/java/refinedstorage/block/BlockCable.java +++ b/src/main/java/refinedstorage/block/BlockCable.java @@ -110,13 +110,12 @@ public class BlockCable extends BlockCoverable { } private boolean hasConnectionWith(IBlockAccess world, BlockPos pos, EnumFacing direction) { - TileMultipartNode tile = (TileMultipartNode) world.getTileEntity(pos); TileEntity facing = world.getTileEntity(pos.offset(direction)); if (facing instanceof INetworkMaster || facing instanceof INetworkNode) { // Do not render a cable extension where our cable "head" is (e.g. importer, exporter, external storage cubes). if (getPlacementType() != null) { - return tile.getFacingTile() != facing; + return ((TileMultipartNode) world.getTileEntity(pos)).getFacingTile() != facing; } return !TileMultipartNode.hasBlockingMicroblock(world, pos, direction) && !TileMultipartNode.hasBlockingMicroblock(world, pos.offset(direction), direction.getOpposite());