Fix two minor formatting issues

This commit is contained in:
md_5 2019-02-17 10:13:24 +11:00
parent 0d6f3ee374
commit 6d6fbb5efa
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ public abstract class EntityMap
private static void readSkipSlot(ByteBuf packet, int protocolVersion) private static void readSkipSlot(ByteBuf packet, int protocolVersion)
{ {
if ( (protocolVersion >= ProtocolConstants.MINECRAFT_1_13_2) ? packet.readBoolean() : packet.readShort() != -1 ) if ( ( protocolVersion >= ProtocolConstants.MINECRAFT_1_13_2 ) ? packet.readBoolean() : packet.readShort() != -1 )
{ {
if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_13_2 ) if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_13_2 )
{ {