Open Dawsson opened 1 year ago
This is what I use for minimessage + string to components:
fun String.toComponent(): Component = MiniMessage.miniMessage().deserialize(this) fun Component.toString(): String = MiniMessage.miniMessage().serialize(this)
overriding toString doesnt seem like a good idea
This is what I use for minimessage + string to components: