mirror of
https://github.com/HibiscusMC/HibiscusCommons.git
synced 2025-12-19 15:09:26 +00:00
clean: change adventure to AdventureUtils
This commit is contained in:
@@ -4,7 +4,7 @@ import net.kyori.adventure.text.minimessage.MiniMessage;
|
||||
import net.kyori.adventure.text.minimessage.tag.standard.StandardTags;
|
||||
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
|
||||
|
||||
public class Adventure {
|
||||
public class AdventureUtils {
|
||||
|
||||
public static final LegacyComponentSerializer SERIALIZER = LegacyComponentSerializer.builder()
|
||||
.hexColors()
|
||||
@@ -6,7 +6,7 @@ public class StringUtils {
|
||||
|
||||
@NotNull
|
||||
public static String parseStringToString(final String parsed) {
|
||||
return Adventure.SERIALIZER.serialize(Adventure.MINI_MESSAGE.deserialize(parsed));
|
||||
return AdventureUtils.SERIALIZER.serialize(AdventureUtils.MINI_MESSAGE.deserialize(parsed));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user