Shynixn / MCCoroutine

MCCoroutine is a library, which adds extensive support for Kotlin Coroutines for Minecraft Server environments.
Other
210 stars 19 forks source link

Prevent usage of Paper fallback schedulers for Folia. #110

Closed geeyoueye closed 7 months ago

geeyoueye commented 8 months ago

The current Folia platform check works by checking for a class that was added to Paper for fallback support. This commit changes the class check to a class that only exists on the Folia platform. This prevents potentially different behavior between Spigot and Paper platforms.

Shynixn commented 7 months ago

Thanks for your contribution.