mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-11-28 12:55:34 +01:00
Fixed Folia detection
This commit is contained in:
parent
814ae4d9d5
commit
410eba5559
@ -1288,7 +1288,7 @@ public class Util extends Queue {
|
|||||||
|
|
||||||
public static boolean isFolia() {
|
public static boolean isFolia() {
|
||||||
try {
|
try {
|
||||||
Class.forName("io.papermc.paper.threadedregions.scheduler.GlobalRegionScheduler");
|
Class.forName("io.papermc.paper.threadedregions.ThreadedRegionizer");
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user