mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-13 06:14:49 +01:00
fix: Spigot 1.17 error message (#260)
* chore(ci): Add renovate * fix: 1.17 launch non-critical error Fixes #259
This commit is contained in:
parent
bfea4b2836
commit
7c78f414ac
@ -4,4 +4,4 @@ org.gradle.caching=true
|
||||
|
||||
github=https://github.com/sekwah41/Advanced-Portals
|
||||
curse_project_id=86001
|
||||
version=0.6.1
|
||||
version=0.6.0
|
||||
|
5
renovate.json
Normal file
5
renovate.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": [
|
||||
"config:base"
|
||||
]
|
||||
}
|
@ -139,7 +139,8 @@ public class AdvancedPortalsPlugin extends JavaPlugin {
|
||||
getLogger().info( "Bungee detected. Enabling proxy features." );
|
||||
return true;
|
||||
}
|
||||
} catch(NullPointerException e) {
|
||||
} catch(NoSuchMethodError | NullPointerException e) {
|
||||
getLogger().info("BungeeCord config not detected, ignoring settings");
|
||||
}
|
||||
|
||||
// Will be valid if paperspigot is being used. Otherwise catch.
|
||||
@ -150,7 +151,8 @@ public class AdvancedPortalsPlugin extends JavaPlugin {
|
||||
getLogger().info( "Modern forwarding detected. Enabling proxy features." );
|
||||
return true;
|
||||
}
|
||||
} catch(NullPointerException e) {
|
||||
} catch(NoSuchMethodError | NullPointerException e) {
|
||||
getLogger().info("Paper config not detected, ignoring paper settings");
|
||||
}
|
||||
|
||||
getLogger().warning( "Proxy features disabled for Advanced Portals as bungee isn't enabled on the server (spigot.yml) " +
|
||||
|
Loading…
Reference in New Issue
Block a user