mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 10:45:48 +01:00
#3759: Remove unnecessary protocol version check for UnsignedClientCommand
This commit is contained in:
parent
7a42f12716
commit
81b118a8ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user