Fix extra write in ScoreboardScore packet

This commit is contained in:
md_5 2023-11-26 08:12:30 +11:00
parent 197bf13a28
commit 70f346c1dc
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -59,7 +59,6 @@ public class ScoreboardScore extends DefinedPacket
{
buf.writeByte( action );
}
buf.writeByte( action );
writeString( scoreName, buf );
if ( action != 1 || protocolVersion >= ProtocolConstants.MINECRAFT_1_20_3 )
{