Skip to content

Commit

Permalink
Fix two minor formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 committed Feb 16, 2019
1 parent 0d6f3ee commit 6d6fbb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ protected static void rewriteMetaVarInt(ByteBuf packet, int oldId, int newId, in

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 )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static ChatComponentTransformer getInstance()
*/
public BaseComponent[] transform(ProxiedPlayer player, BaseComponent... component)
{
if ( component == null || component.length < 1 || ( component.length == 1 && component[0] == null ) )
if ( component == null || component.length < 1 || ( component.length == 1 && component[0] == null ) )
{
return new BaseComponent[]
{
Expand Down

0 comments on commit 6d6fbb5

Please sign in to comment.