Skip to content

Commit

Permalink
Fix CraftingPipe overflow distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackBeltPanda committed Jul 30, 2021
1 parent 6d42b53 commit d6ae83e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected Map<TPDirection, Integer> calculateItemDistribution(PipeItem pipeItem,
ItemStack overflow = addCachedItem(pipeItem.getItem(), transportPipes);
if (overflow != null) {
pipeItem.setItem(overflow);
return Map.of(outputDir, 1);
return Map.of(outputDir, pipeItem.getItem().getAmount());
}
return null;
}
Expand Down

0 comments on commit d6ae83e

Please sign in to comment.