mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-24 17:47:41 +01:00
#3318: Fixed system messages shown in action bar for MC 1.19 clients
This commit is contained in:
parent
8c0e4b1d33
commit
5972fd2353
@ -479,7 +479,7 @@ public final class UserConnection implements ProxiedPlayer
|
||||
{
|
||||
if ( getPendingConnection().getVersion() >= ProtocolConstants.MINECRAFT_1_19 )
|
||||
{
|
||||
unsafe().sendPacket( new SystemChat( message, position.ordinal() ) );
|
||||
unsafe().sendPacket( new SystemChat( message, position.ordinal() - 1 ) ); // For system messages, the CHAT position is not supported.
|
||||
} else
|
||||
{
|
||||
unsafe().sendPacket( new Chat( message, (byte) position.ordinal(), sender ) );
|
||||
|
Loading…
Reference in New Issue
Block a user