From 5a7b866d5d947b9ca2c2051c55120a20e02ec0f4 Mon Sep 17 00:00:00 2001 From: brachy84 Date: Thu, 19 Aug 2021 08:28:47 +0200 Subject: [PATCH] this --- .../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)); } } }