Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01: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:
Ursprung
574dad015d
Commit
06663bcafd
@ -206,10 +206,10 @@ public class GeyserVelocityPlugin implements GeyserBootstrap {
|
|||||||
// After this bound, we know that the channel initializer cannot change without it being ineffective for Velocity, too
|
// After this bound, we know that the channel initializer cannot change without it being ineffective for Velocity, too
|
||||||
geyserInjector.initializeLocalChannel(this);
|
geyserInjector.initializeLocalChannel(this);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
INITIALIZED = true;
|
INITIALIZED = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BootstrapDumpInfo getDumpInfo() {
|
public BootstrapDumpInfo getDumpInfo() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren