Skip to content

Commit

Permalink
#3759: Remove unnecessary protocol version check for UnsignedClientCo…
Browse files Browse the repository at this point in the history
…mmand
  • Loading branch information
Outfluencer authored and md-5 committed Nov 17, 2024
1 parent 7a42f12 commit 81b118a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class UnsignedClientCommand extends DefinedPacket
@Override
public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
{
command = readString( buf, ( protocolVersion >= ProtocolConstants.MINECRAFT_1_20_5 ) ? 32767 : 256 );
command = readString( buf );
}

@Override
Expand Down

0 comments on commit 81b118a

Please sign in to comment.