Skip to content

Fix PlayerList advancement/recipe player refreshes, disable restarting/reloading and enabling datapacks with the API - #498

Open
Dueris wants to merge 1 commit into
PaperMC:ver/26.2.xfrom
Dueris:fix/disable-and-fix-api
Open

Fix PlayerList advancement/recipe player refreshes, disable restarting/reloading and enabling datapacks with the API#498
Dueris wants to merge 1 commit into
PaperMC:ver/26.2.xfrom
Dueris:fix/disable-and-fix-api

Conversation

@Dueris

@Dueris Dueris commented Aug 11, 2026

Copy link
Copy Markdown

Self explanatory.

Datapacks are unsafe to load during runtime, so that's disabled in PaperDatapack now.

PlayerList#reloadRecipes and PlayerList#reloadAdvancementData are not safe for region threading if called outside of any players owning context. There is some Bukkit API that calls these, this fixes the safety issue via proper scheduling to the players in the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant