#3535: Queue packets of Title api

This commit is contained in:
Outfluencer 2023-09-28 23:21:56 +02:00 committed by GitHub
parent 78aef86a8f
commit 94a1fb5117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,7 @@ public class BungeeTitle implements Title
{ {
if ( player.getPendingConnection().getVersion() >= ProtocolConstants.MINECRAFT_1_17 ) if ( player.getPendingConnection().getVersion() >= ProtocolConstants.MINECRAFT_1_17 )
{ {
player.unsafe().sendPacket( packet.newPacket ); ( (UserConnection) player ).sendPacketQueued( packet.newPacket );
} else } else
{ {
player.unsafe().sendPacket( packet.oldPacket ); player.unsafe().sendPacket( packet.oldPacket );