From d2edaceae70bb11c415dc2dee83820e9f11bdea3 Mon Sep 17 00:00:00 2001 From: Preva1l <149850944+ProdPreva1l@users.noreply.github.com> Date: Sun, 9 Jun 2024 03:16:06 +1000 Subject: [PATCH] Change Folia check to be compatible with ShreddedPaper (#551) ShreddedPaper is fully compatible with all folia plugins if don't check if its folia, BUT we have an empty class for RegionizedServer as MOST plugins will check for this, please be like everyone else! --- src/main/java/net/coreprotect/utility/Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/coreprotect/utility/Util.java b/src/main/java/net/coreprotect/utility/Util.java index e1707f2..aa3aa60 100755 --- a/src/main/java/net/coreprotect/utility/Util.java +++ b/src/main/java/net/coreprotect/utility/Util.java @@ -1312,7 +1312,7 @@ public class Util extends Queue { public static boolean isFolia() { try { - Class.forName("io.papermc.paper.threadedregions.ThreadedRegionizer"); + Class.forName("io.papermc.paper.threadedregions.RegionizedServer"); } catch (Exception e) { return false;