mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-18 08:15:19 +01:00
Fix formatting in ComponentsTest
This commit is contained in:
parent
e690a7b389
commit
d4bbe0d8db
@ -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
|
||||||
} );
|
} );
|
||||||
|
Loading…
Reference in New Issue
Block a user