feat: folia warning
This commit is contained in:
parent
6fae824fe2
commit
fe78fd0e2b
1 changed files with 6 additions and 0 deletions
|
@ -81,6 +81,12 @@ public class NickoBukkit extends JavaPlugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!unitTesting) {
|
if (!unitTesting) {
|
||||||
|
try {
|
||||||
|
Class.forName("io.papermc.paper.threadedregions.RegionizedServerInitEvent");
|
||||||
|
getLogger().warning("Nicko has not been tested against Folia and might not work at all!");
|
||||||
|
getLogger().warning("Issues regarding Nicko on Folia will not be ignored for now.");
|
||||||
|
} catch (ClassNotFoundException ignored) { }
|
||||||
|
|
||||||
localeFileManager = new LocaleFileManager();
|
localeFileManager = new LocaleFileManager();
|
||||||
if (configuration.isCustomLocale()) {
|
if (configuration.isCustomLocale()) {
|
||||||
if (localeFileManager.dumpFromLocale(Locale.ENGLISH)) {
|
if (localeFileManager.dumpFromLocale(Locale.ENGLISH)) {
|
||||||
|
|
Loading…
Reference in a new issue