Skip to content

Commit

Permalink
Queue PlayerListItemRemove packets
Browse files Browse the repository at this point in the history
Closes #3756
  • Loading branch information
Outfluencer authored Oct 21, 2024
1 parent 2593130 commit 28a0f01
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ public void disconnected(ChannelWrapper channel) throws Exception
{
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 );
Expand Down

0 comments on commit 28a0f01

Please sign in to comment.