From c22ba27962f29b8a110dd95a673a9d5fbc48ced5 Mon Sep 17 00:00:00 2001 From: geeyoueye <40792778+geeyoueye@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:28:02 +0200 Subject: [PATCH] Fixed Folia detection. --- .../shynixn/mccoroutine/folia/impl/CoroutineSessionImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mccoroutine-folia-core/src/main/java/com/github/shynixn/mccoroutine/folia/impl/CoroutineSessionImpl.kt b/mccoroutine-folia-core/src/main/java/com/github/shynixn/mccoroutine/folia/impl/CoroutineSessionImpl.kt index 49f94ce..2820836 100644 --- a/mccoroutine-folia-core/src/main/java/com/github/shynixn/mccoroutine/folia/impl/CoroutineSessionImpl.kt +++ b/mccoroutine-folia-core/src/main/java/com/github/shynixn/mccoroutine/folia/impl/CoroutineSessionImpl.kt @@ -30,7 +30,7 @@ internal class CoroutineSessionImpl( */ override val isFoliaLoaded: Boolean by lazy { try { - Class.forName("io.papermc.paper.threadedregions.scheduler.EntityScheduler") + Class.forName("io.papermc.paper.threadedregions.RegionizedServer") true } catch (e: ClassNotFoundException) { false