-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
mcMMO
The FoodLevelChangeEvent hardcodes a maximum result of 20 for the new food level. However, in combination with how saturation is calculated, this means that actually using this event to change the hunger value will have an unintended impact on the saturation gained. This is especially evident in this old issue for mcMMO, where the modified food values result in lower than normal saturation gains due to hitting the hunger cap.
Sorry I can't pull any patches unless the CLA is completely filled.
Please refill the CLA with your full and correct details and then open a pull request to the Bukkit project https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests