Use async teleport to avoid thread-affinity issues#6431
Use async teleport to avoid thread-affinity issues#6431BoocordStudios wants to merge 1 commit intoEssentialsX:2.xfrom
Conversation
To fix teleporting on Paper Forks with parallel world ticking, chunks are going to be load async. This patch was tested for months on a server with up to 100 players and works perfectly fine.
|
Surely a fork doing parallel worlds that doesn't redirect teleport calls, but also allows any old plugin to run instead of forcing the folia flag, is just a broken fork that shouldn't be catered to? |
|
Folia and parallel world ticking are completely different things, Folia would be RCT (regional chunk ticking). |
Both, however, require plugins to be aware that different regions may tick at different times. Lots of plugins do lots of things cross-world, and require rewriting for folia not just because of same-world regions but because worlds tick separately. |
|
It's just the teleport, as I said. Changing it to async won't cause any issues and makes EssentialsX more compatible which is a good thing. |
To fix teleporting on Paper Forks with parallel world ticking, chunks are going to be load async. This patch was tested for months on a server with up to 100 players and works perfectly fine.