From 8212e10c7c4d38294ec6ed970d4d2230cc918c2c Mon Sep 17 00:00:00 2001 From: Outfluencer Date: Mon, 21 Oct 2024 12:05:01 +0200 Subject: [PATCH] #3756, #3757: Queue PlayerListItemRemove packets for disconnecting players --- .../main/java/net/md_5/bungee/connection/UpstreamBridge.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java index 5c1cf858d..c9e3697e7 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/UpstreamBridge.java @@ -101,7 +101,8 @@ public class UpstreamBridge extends PacketHandler { if ( player.getPendingConnection().getVersion() >= ProtocolConstants.MINECRAFT_1_19_3 ) { - player.unsafe().sendPacket( newPacket ); + // need to queue, because players in config state could receive it + ( (UserConnection) player ).sendPacketQueued( newPacket ); } else { player.unsafe().sendPacket( oldPacket );