PaperMC/paper-server/src/main/java
Jason Penilla 9ac98063a0 Fix client lag on advancement loading
When new advancements are added via the UnsafeValues#loadAdvancement
API, it triggers a full datapack reload when this is not necessary. The
advancement is already loaded directly into the advancement registry,
and the point of saving the advancement to the Bukkit datapack seems to
be for persistence. By removing the call to reload datapacks when an
advancement is loaded, the client no longer completely freezes up when
adding a new advancement.
To ensure the client still receives the updated advancement data, we
manually reload the advancement data for all players, which
normally takes place as a part of the datapack reloading.
2020-10-31 11:49:01 -07:00
..
ca/spottedleaf/moonrise MC Utils 2016-03-28 20:55:47 -04:00
com/destroystokyo/paper Make the GUI graph fancier 2020-02-02 04:00:40 -06:00
io/papermc/paper Paper dumpitem command 2020-06-28 19:27:20 -04:00
net/neoforged/art/internal Plugin remapping 2022-10-29 15:22:32 -07:00
org Fix client lag on advancement loading 2020-10-31 11:49:01 -07:00