Eating food and not reducing food amount
Expected Behavior
To eat the food and receive the effects and then decrease the stacked amount of food.
Actual Behavior
When right clicked on the food, it restored hunger but did not decrease the amount of food in the actual stacked amount so the amount of food in the stack didn't decrease but it still refilled your hunger.
Steps to Reproduce
hold the food, for example(apple), and then right click quickly(or spam), also make sure that you have lost at least one heart of damage,(the hunger bar also has to have lost exactly half one bar.(19 hunger bar points and 18 or less health points)) do not hold down(as you normally would when eating an apple, then you might see the hunger bar increase but the stack with the food does not decrease.
Debug information
- Debug link:
- Timings link (if relevant):
Crashdump, Backtrace or Other Files
No logs Checklist:
- [] I included a
/debugpastelink - [X] I made sure there aren't duplicates of this report (Use Search)
- [X] I made sure I am using an up-to-date version of Nukkit
- [X] I Made sure the bug/error is not caused by a plugin
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Still not fixed :/
PowerNukkit has a PR that fixes this, if you are smart enough you can add it to your core