Entities may lose the persist state

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • 1.16.2
    • Yes

      When entities change the world or are mounted to a players shoulders and unmounted again (parrots) they lose the persist state and so are saved to the chunk afterwards.

       

      This happens because the entity gets serialized and deserialized and the persist state is not included there.

       

      PR: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/735/overview

            Assignee:
            Unassigned
            Reporter:
            Brokkonaut
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: