From 84d0ea73fa84b0a60204bd84fb34f75b993c6494 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 31 Mar 2024 10:09:20 +1100 Subject: [PATCH] Minor formatting fixes --- .../java/net/md_5/bungee/chat/BaseComponentSerializer.java | 2 +- .../test/java/net/md_5/bungee/api/chat/ComponentsTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java b/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java index 97514cbf..5ecbc30d 100644 --- a/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java +++ b/chat/src/main/java/net/md_5/bungee/chat/BaseComponentSerializer.java @@ -74,7 +74,7 @@ public class BaseComponentSerializer { list = new Content[] { - context.deserialize( contents, HoverEvent.getClass( action, false ) ) + context.deserialize( contents, HoverEvent.getClass( action, false ) ) }; } hoverEvent = new HoverEvent( action, new ArrayList<>( Arrays.asList( list ) ) ); diff --git a/chat/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java b/chat/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java index ad844e53..7e14484b 100644 --- a/chat/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java +++ b/chat/src/test/java/net/md_5/bungee/api/chat/ComponentsTest.java @@ -853,8 +853,8 @@ public class ComponentsTest assertTrue( style.isEmpty() ); style = ComponentStyle.builder() - .bold( true ) - .build(); + .bold( true ) + .build(); assertFalse( style.isEmpty() ); }