mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
Catching missing class on other platforms than Paper or older
Related #1313
This commit is contained in:
@ -137,7 +137,7 @@ public class BungeeManager {
|
|||||||
try {
|
try {
|
||||||
ServerConfiguration.class.getDeclaredMethod("isProxyEnabled");
|
ServerConfiguration.class.getDeclaredMethod("isProxyEnabled");
|
||||||
return Bukkit.getServerConfig().isProxyEnabled();
|
return Bukkit.getServerConfig().isProxyEnabled();
|
||||||
} catch (NoSuchMethodException noSuchMethodEx) {
|
} catch (NoClassDefFoundError | NoSuchMethodException noSuchClassMethodEx) {
|
||||||
// Ignore continue below
|
// Ignore continue below
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user