mirror of
https://github.com/CarmJos/UserPrefix.git
synced 2026-06-05 00:35:02 +08:00
Fix Folia detection
This commit is contained in:
@@ -41,7 +41,7 @@ public class Main extends EasyPlugin {
|
||||
instance = this;
|
||||
|
||||
try {
|
||||
Class.forName("io.papermc.paper.threadedregions.RegionizedServerInitEvent");
|
||||
Class.forName("io.papermc.paper.threadedregions.RegionizedServer");
|
||||
this.onFolia = true;
|
||||
} catch (ClassNotFoundException e) {
|
||||
this.onFolia = false;
|
||||
|
||||
Reference in New Issue
Block a user