Fixed Folia detection
This commit is contained in:
parent
814ae4d9d5
commit
410eba5559
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue