mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-06-25 01:21:34 +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 {
|
||||
ServerConfiguration.class.getDeclaredMethod("isProxyEnabled");
|
||||
return Bukkit.getServerConfig().isProxyEnabled();
|
||||
} catch (NoSuchMethodException noSuchMethodEx) {
|
||||
} catch (NoClassDefFoundError | NoSuchMethodException noSuchClassMethodEx) {
|
||||
// Ignore continue below
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user