From 4fa4e3f57a91213f36b7f0a6c03f56396cd1d149 Mon Sep 17 00:00:00 2001 From: brachy84 <45517902+brachy84@users.noreply.github.com> Date: Thu, 19 Aug 2021 08:30:20 +0200 Subject: [PATCH] Fix issue from #80 (#88) --- .../gregtech/common/pipelike/cable/net/EnergyNetWalker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/pipelike/cable/net/EnergyNetWalker.java b/src/main/java/gregtech/common/pipelike/cable/net/EnergyNetWalker.java index 891db184e48..fd0a1298296 100644 --- a/src/main/java/gregtech/common/pipelike/cable/net/EnergyNetWalker.java +++ b/src/main/java/gregtech/common/pipelike/cable/net/EnergyNetWalker.java @@ -53,7 +53,7 @@ protected void checkNeighbour(IPipeTile pipeTile, BlockPos pipePos, EnumFa if (neighbourTile != null) { IEnergyContainer container = neighbourTile.getCapability(GregtechCapabilities.CAPABILITY_ENERGY_CONTAINER, faceToNeighbour.getOpposite()); if (container != null) { - routes.add(new RoutePath(pipePos, faceToNeighbour, new HashSet<>(pipes), getWalkedBlocks(), loss)); + routes.add(new RoutePath(new BlockPos(pipePos), faceToNeighbour, new HashSet<>(pipes), getWalkedBlocks(), loss)); } } }