Small annotation improvement

This commit is contained in:
Artemis-the-gr8 2022-07-12 16:37:45 +02:00
parent 8619b0af4e
commit 2b2fa70eab
2 changed files with 2 additions and 3 deletions

View File

@ -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.Main;
import com.gmail.artemis.the.gr8.playerstats.enums.Target; 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 com.gmail.artemis.the.gr8.playerstats.utils.MyLogger;
import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.FileConfiguration;

View File

@ -21,8 +21,8 @@ import static net.kyori.adventure.text.Component.*;
import static net.kyori.adventure.text.Component.text; import static net.kyori.adventure.text.Component.text;
/** Creates Components with the desired formatting. This class can put Strings /** Creates Components with the desired formatting. This class can put Strings
into formatted Components with TextColor and TextDecoration, and turn into formatted Components with TextColor and TextDecoration, or return empty Components
certain Strings into appropriate LanguageKeys to return a TranslatableComponent.*/ or ComponentBuilders with the desired formatting.*/
public class ComponentFactory { public class ComponentFactory {
private static ConfigHandler config; private static ConfigHandler config;