PaperMC/paper-server
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
..
patches/sources Add ignore discounts API 2020-11-09 20:44:51 +01:00
src Fix client lag on advancement loading 2020-10-31 11:49:01 -07:00
.gitignore Setup Gradle project 2020-12-10 20:54:19 -08:00
build.gradle.kts Implement Mob Goal API 2020-01-03 16:26:19 +01:00
LGPL.txt We're LGPL. 2011-01-02 10:58:11 +01:00
LICENCE.txt We're LGPL. 2011-01-02 10:58:11 +01:00