Skip to content

Commit 79b15dd

Browse files
committed
Fix Folia detection
1 parent ba4e2b1 commit 79b15dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pvpmanager/src/main/java/me/chancesd/pvpmanager/utils/ScheduleUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public void rejectedExecution(final Runnable r, final ThreadPoolExecutor localEx
149149
public static boolean checkFolia() {
150150
try {
151151
Class.forName("io.papermc.paper.threadedregions.RegionizedServerInitEvent");
152-
Log.debug("Method " + Bukkit.class.getDeclaredMethod("getAsyncScheduler"));
152+
Class.forName("io.papermc.paper.threadedregions.RegionizedServer");
153153
return true;
154154
} catch (final Throwable ignored) {
155155
return false;

0 commit comments

Comments
 (0)