Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3938

Using FoodLevelChangeEvent prevents proper saturation levels from being applied.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 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.

            Unassigned Unassigned
            Glitchfinder Sean Porter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: