mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2025-02-18 02:02:29 +01:00
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!
This commit is contained in:
parent
ca59ff25df
commit
d2edaceae7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user