Skip to content

Commit

Permalink
Fix bundle extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Kneelawk committed Apr 26, 2024
1 parent f7882a8 commit 03d30d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ public ItemStack attemptExtraction(ItemFilter filter, int maxAmount, Simulation
for (ItemStack stack : stacks) {
if (filter.matches(stack)) {
result = stack.split(maxAmount);
break;
}
}
stacks.removeIf(ItemStack::isEmpty);
Expand Down

0 comments on commit 03d30d7

Please sign in to comment.