[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 |