Fix formatting in ComponentsTest

This commit is contained in:
md_5 2018-04-01 09:31:00 +10:00
parent e690a7b389
commit d4bbe0d8db

View File

@ -60,7 +60,9 @@ public class ComponentsTest
ComponentBuilder builder = new ComponentBuilder( "Hello " ); ComponentBuilder builder = new ComponentBuilder( "Hello " );
TextComponent textComponent = new TextComponent( "world " ); TextComponent textComponent = new TextComponent( "world " );
TranslatableComponent translatableComponent = new TranslatableComponent( "item.swordGold.name" ); TranslatableComponent translatableComponent = new TranslatableComponent( "item.swordGold.name" );
builder.append( new BaseComponent[] { // array based BaseComponent append // array based BaseComponent append
builder.append( new BaseComponent[]
{
textComponent, textComponent,
translatableComponent translatableComponent
} ); } );