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

Make healing salves consistently give the bowl back #16

Open
wants to merge 2 commits into
base: 1.20.1
Choose a base branch
from

Conversation

DUDEbehindDUDE
Copy link

It was really frustrating that I had to keep making more bowls because it wouldn't give them back to me when the healing salve broke. I thought this was a feature, but looking at the code it seems to be a bug. This PR fixes that.

@DUDEbehindDUDE
Copy link
Author

DUDEbehindDUDE commented Feb 4, 2024

This should fix any HealItem with a RETURN_STACK, but only healing salves have a return stack.

@DUDEbehindDUDE
Copy link
Author

after a bit more testing, this still seems to stop working after a bit, I think related to having a full inventory, but I'm not sure

@DUDEbehindDUDE
Copy link
Author

okay, this should be working 100% of the time now. We're now creating a new ItemStack each time, instead of giving the same ItemStack, and that seems to have fixed the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant