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

Fix hopper counters command error when guessing item color #1826

Merged
merged 6 commits into from
Oct 6, 2023

Conversation

altrisi
Copy link
Collaborator

@altrisi altrisi commented Oct 6, 2023

Fixes #1825

I'd say warrants a 1.20.2 release.

Likely pending a bigger refactor to that, ideally in a way a generic
change like this gets noticed next time
@altrisi altrisi added the hi priority Likely will fix label Oct 6, 2023
@altrisi
Copy link
Collaborator Author

altrisi commented Oct 6, 2023

This is also used by the recipe_data Scarpet function, so it also would cause an error there.

@altrisi altrisi added the scarpet Issues related to scarpet in some way label Oct 6, 2023
@altrisi altrisi marked this pull request as ready for review October 6, 2023 11:18
@altrisi altrisi merged commit 9039bba into gnembon:master Oct 6, 2023
altrisi added a commit that referenced this pull request Oct 6, 2023
* Fix hopper counters command crash when guessing item color

* Less List types, slightly less copying and clearer Stream chain

* Reverse result equal logic to not search through registries as much

Gets the item being searched once outside instead of getting the id for
every recipe
@altrisi altrisi deleted the fix-counter-crash branch October 8, 2023 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hi priority Likely will fix scarpet Issues related to scarpet in some way
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/counter command seems to stop working if hopper gets certain type of items
1 participant