Skip to content

Commit

Permalink
Fix issue from GregTechCEu#80 (GregTechCEu#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
brachy84 authored Aug 19, 2021
1 parent c7e9f84 commit 4fa4e3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
}
Expand Down

0 comments on commit 4fa4e3f

Please sign in to comment.