From 2b2fa70eab100b03028cca7d1b683400d78cc359 Mon Sep 17 00:00:00 2001 From: Artemis-the-gr8 Date: Tue, 12 Jul 2022 16:37:45 +0200 Subject: [PATCH] Small annotation improvement --- .../artemis/the/gr8/playerstats/config/ConfigHandler.java | 1 - .../artemis/the/gr8/playerstats/msg/ComponentFactory.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/artemis/the/gr8/playerstats/config/ConfigHandler.java b/src/main/java/com/gmail/artemis/the/gr8/playerstats/config/ConfigHandler.java index bca5249..ff4ad31 100644 --- a/src/main/java/com/gmail/artemis/the/gr8/playerstats/config/ConfigHandler.java +++ b/src/main/java/com/gmail/artemis/the/gr8/playerstats/config/ConfigHandler.java @@ -2,7 +2,6 @@ package com.gmail.artemis.the.gr8.playerstats.config; import com.gmail.artemis.the.gr8.playerstats.Main; import com.gmail.artemis.the.gr8.playerstats.enums.Target; -import com.gmail.artemis.the.gr8.playerstats.msg.MessageWriter; import com.gmail.artemis.the.gr8.playerstats.utils.MyLogger; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.file.FileConfiguration; diff --git a/src/main/java/com/gmail/artemis/the/gr8/playerstats/msg/ComponentFactory.java b/src/main/java/com/gmail/artemis/the/gr8/playerstats/msg/ComponentFactory.java index b9725b4..774f7cd 100644 --- a/src/main/java/com/gmail/artemis/the/gr8/playerstats/msg/ComponentFactory.java +++ b/src/main/java/com/gmail/artemis/the/gr8/playerstats/msg/ComponentFactory.java @@ -21,8 +21,8 @@ import static net.kyori.adventure.text.Component.*; import static net.kyori.adventure.text.Component.text; /** Creates Components with the desired formatting. This class can put Strings - into formatted Components with TextColor and TextDecoration, and turn - certain Strings into appropriate LanguageKeys to return a TranslatableComponent.*/ + into formatted Components with TextColor and TextDecoration, or return empty Components + or ComponentBuilders with the desired formatting.*/ public class ComponentFactory { private static ConfigHandler config;