[SPIGOT-6101] Entities may lose the persist state Created: 25/Aug/20  Updated: 26/Aug/20  Resolved: 26/Aug/20

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Brokkonaut Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: Entities, persistence

Version: 1.16.2
Guidelines Read: Yes

 Description   

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


Generated at Sat Dec 13 15:20:00 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.