#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 )
|
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
|
} else
|
||||||
{
|
{
|
||||||
unsafe().sendPacket( new Chat( message, (byte) position.ordinal(), sender ) );
|
unsafe().sendPacket( new Chat( message, (byte) position.ordinal(), sender ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user