Fix async teleport error on Folia (#988)
* fix: replace PaperLib with runtime Paper API detection for Folia async teleports
PaperLib falls back to synchronous teleport and chunk loading on Folia 26.x,
which violates region threading requirements. Introduce BukkitPaperCompat to
invoke native Paper APIs via reflection when available, with safe Spigot
fallbacks, and remove the PaperLib dependency.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix: restore paper-api 1.19.4 compile target for project policy compliance
The Paper 1.21 compile dependency bump was not appropriate for this
project. Runtime Paper/Folia APIs continue to be invoked via reflection
in BukkitPaperCompat without requiring a newer compile-time API.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Optional dependencies
Text Placeholder API
Any compatible version
Pl3xMap
Any compatible version
LuckPerms
Any compatible version
Plan | Player Analytics
Any compatible version
Impactor
Any compatible version
BlueMap
Any compatible version
Dynmap®
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }