Fix two minor formatting issues
This commit is contained in:
parent
0d6f3ee374
commit
6d6fbb5efa
@ -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 )
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@ public final class ChatComponentTransformer
|
|||||||
*/
|
*/
|
||||||
public BaseComponent[] transform(ProxiedPlayer player, BaseComponent... component)
|
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[]
|
return new BaseComponent[]
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user