mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Feature: Detect incorrect proxy setups (#4941)
* Feature: Detect & warn about incorrect proxy setups on Spigot platforms * Properly disable Geyser if we failed to load
This commit is contained in:
parent
41e65b0fcc
commit
d3ea65196b
6 changed files with 45 additions and 9 deletions
|
@ -113,6 +113,10 @@ public class GeyserVelocityPlugin implements GeyserBootstrap {
|
|||
|
||||
@Override
|
||||
public void onGeyserEnable() {
|
||||
// If e.g. the config failed to load, GeyserImpl was not loaded and we cannot start
|
||||
if (geyser == null) {
|
||||
return;
|
||||
}
|
||||
if (GeyserImpl.getInstance().isReloading()) {
|
||||
if (!loadConfig()) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue