From 94a1fb5117e45c716ed823b54348182e141f541c Mon Sep 17 00:00:00 2001 From: Outfluencer <48880402+Outfluencer@users.noreply.github.com> Date: Thu, 28 Sep 2023 23:21:56 +0200 Subject: [PATCH] #3535: Queue packets of Title api --- proxy/src/main/java/net/md_5/bungee/BungeeTitle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java b/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java index 1d377a65..c1686a93 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java @@ -172,7 +172,7 @@ public class BungeeTitle implements Title { if ( player.getPendingConnection().getVersion() >= ProtocolConstants.MINECRAFT_1_17 ) { - player.unsafe().sendPacket( packet.newPacket ); + ( (UserConnection) player ).sendPacketQueued( packet.newPacket ); } else { player.unsafe().sendPacket( packet.oldPacket );