geforkt von Mirrors/Velocity
Fix race condition when switching client from config to play state
Dieser Commit ist enthalten in:
Ursprung
d8bb4e97e4
Commit
15897c5258
@ -197,7 +197,10 @@ public class ClientConfigSessionHandler implements MinecraftSessionHandler {
|
||||
smc.write(brandPacket);
|
||||
}
|
||||
|
||||
player.getConnection().write(FinishedUpdatePacket.INSTANCE);
|
||||
player.getConnection().eventLoop().execute(() -> {
|
||||
player.getConnection().write(FinishedUpdatePacket.INSTANCE);
|
||||
player.getConnection().getChannel().pipeline().get(MinecraftEncoder.class).setState(StateRegistry.PLAY);
|
||||
});
|
||||
|
||||
smc.write(FinishedUpdatePacket.INSTANCE);
|
||||
smc.getChannel().pipeline().get(MinecraftEncoder.class).setState(StateRegistry.PLAY);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren