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

Doesn't display predicted saturation for food that can be consumed when full #282

Open
donkeyrat opened this issue Dec 30, 2023 · 1 comment

Comments

@donkeyrat
Copy link

(Fabric)

I held a honey bottle while full, and it did not show me the predicted amount of saturation it would give, even though I was allowed to drink it.

@squeek502
Copy link
Owner

squeek502 commented Dec 30, 2023

Looks like the honey bottle does not set alwaysEdible to true for whatever reason, and instead it overwrites use to always return ActionResult.CONSUME.

Likely need to special case it in FoodHelper.canConsume. Most likely affects Forge, too.

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

No branches or pull requests

2 participants