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