Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use drain/extract for Recipe#matches #2358

Merged
merged 1 commit into from
Feb 4, 2024
Merged

Conversation

serenibyss
Copy link
Member

@serenibyss serenibyss commented Jan 22, 2024

Before this method was relying on mutating stacks returned from getFluid() and getStackInSlot() to consume fluids/items from the handlers, though this way of doing it is not sufficient in all cases, such as for the in-progress Advanced Stocking Bus/Hatch.

This needs to be tested thoroughly

@serenibyss serenibyss added the type: refactor Suggestion to refactor a section of code label Jan 22, 2024
@serenibyss serenibyss requested a review from a team as a code owner January 22, 2024 04:53
@htmlcsjs htmlcsjs merged commit 72954c4 into master Feb 4, 2024
3 checks passed
@htmlcsjs htmlcsjs deleted the sb-recipe-matches-refactor branch February 4, 2024 20:34
serenibyss added a commit that referenced this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor Suggestion to refactor a section of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants