From bda160562792a913cba3a65ba4996de60d0d6d68 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 22 Jul 2021 11:46:41 +1000 Subject: [PATCH] Minor formatting fixes --- .../main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java | 2 +- .../main/java/net/md_5/bungee/chat/BaseComponentSerializer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java index 29a4716f..e7ab62e5 100644 --- a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java +++ b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java @@ -57,7 +57,7 @@ public interface ProxiedPlayer extends Connection, CommandSender String getDisplayName(); /** - * Sets this players display name to be used by bungeecord commands and plugins. + * Sets this player's display name to be used by proxy commands and plugins. * * @param name the name to set */ 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 fc9739a8..515e1585 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 @@ -85,7 +85,7 @@ public class BaseComponentSerializer { components = new BaseComponent[] { - context.deserialize( contents, BaseComponent.class ) + context.deserialize( contents, BaseComponent.class ) }; } hoverEvent = new HoverEvent( action, components );