#3107: Fix action bar messages in 1.17
This commit is contained in:
parent
6cda6b6c10
commit
633ff1cfc8
@ -478,7 +478,7 @@ public final class UserConnection implements ProxiedPlayer
|
||||
// transform score components
|
||||
message = ChatComponentTransformer.getInstance().transform( this, true, message );
|
||||
|
||||
if ( position == ChatMessageType.ACTION_BAR )
|
||||
if ( position == ChatMessageType.ACTION_BAR && getPendingConnection().getVersion() < ProtocolConstants.MINECRAFT_1_17 )
|
||||
{
|
||||
// Versions older than 1.11 cannot send the Action bar with the new JSON formattings
|
||||
// Fix by converting to a legacy message, see https://bugs.mojang.com/browse/MC-119145
|
||||
|
Loading…
Reference in New Issue
Block a user