-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Of no importance
-
1.16.3
-
Yes
With [this commit](https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/77c894a2aba54cf2a0d9e8503fb97f874af68264) spigot introduces PDCs for Chunks, but the loader code reads the entire chunk nbt compound into the persistent data container instead of just the bukkit values field.
This causes the chunk to literally double its size every time it is stored, by storing itself including the PDC value in its own PDC over and over each write.
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/760
This PR aims to fix that issue as well as improve the check for a BukkitValues key in the first place