9
0
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:
LoJoSho
2023-12-22 21:39:40 -06:00
parent 26e1347489
commit d52dfa2a79
2 changed files with 2 additions and 2 deletions

View File

@@ -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.minimessage.tag.standard.StandardTags;
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer; import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
public class Adventure { public class AdventureUtils {
public static final LegacyComponentSerializer SERIALIZER = LegacyComponentSerializer.builder() public static final LegacyComponentSerializer SERIALIZER = LegacyComponentSerializer.builder()
.hexColors() .hexColors()

View File

@@ -6,7 +6,7 @@ public class StringUtils {
@NotNull @NotNull
public static String parseStringToString(final String parsed) { 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));
} }
} }