From 1383457eba0e27ba1b577753e3f1476dbf0a1641 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Fri, 6 Nov 2020 14:16:24 -0800 Subject: [PATCH] Update javadocs --- src/main/java/com/gmail/nossr50/chat/author/Author.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/chat/author/Author.java b/src/main/java/com/gmail/nossr50/chat/author/Author.java index e434d8039..36977b99e 100644 --- a/src/main/java/com/gmail/nossr50/chat/author/Author.java +++ b/src/main/java/com/gmail/nossr50/chat/author/Author.java @@ -13,8 +13,8 @@ public interface Author extends Identity { * This can either be the player's display name or the player's official registered nickname with Mojang it depends on the servers chat settings for mcMMO * * NOTE: - * mcMMO doesn't use this method currently because we convert the whole chat message from raw Bungee-compatible strings to Bungee components before converting it to adventure components (hacky and will be changed later) - * So this method is provided for future use or if plugins want to make use of it + * mcMMO doesn't transform a players name into a component when creating the chat message, instead it converts the whole string from raw legacy text (including md5 stuff) -> TextComponent via {@link net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer} + * This method is just provided for convenience, it uses lazy initialization * * @param chatChannel which chat channel this is going to * @return The name of this author as used in mcMMO chat