3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-01 23:50:11 +02:00

Fix: Don't mistakingly assume that Geyser-Velocity initialized (#4276)

* Fix: ListenerBoundEvent could set `INITIALIZED` to true, even if we did not initialize yet - move that to postStartup() instead.

* only assign INITIALIZED once, and only after the correct listenertype bound.
Dieser Commit ist enthalten in:
chris 2023-11-06 16:17:41 +01:00 committet von GitHub
Ursprung 574dad015d
Commit 06663bcafd
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -206,9 +206,9 @@ public class GeyserVelocityPlugin implements GeyserBootstrap {
// After this bound, we know that the channel initializer cannot change without it being ineffective for Velocity, too
geyserInjector.initializeLocalChannel(this);
}
}
INITIALIZED = true;
INITIALIZED = true;
}
}
@Override