Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +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,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
|
// 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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren