Fix name function once again & bump to 1.0.5
This commit is contained in:
@@ -6,7 +6,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "xyz.lncvrt"
|
group = "xyz.lncvrt"
|
||||||
version = "1.0.5-SNAPSHOT"
|
version = "1.0.5"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ package xyz.lncvrt.galaxyapi.utils
|
|||||||
class MessageFormat {
|
class MessageFormat {
|
||||||
companion object {
|
companion object {
|
||||||
fun name(bold: Boolean): String {
|
fun name(bold: Boolean): String {
|
||||||
val name = "<gradient:#${Colors.SECONDARY}:#${Colors.PRIMARY}:#${Colors.SECONDARY}>GalaxyNetwork</gradient"
|
val name = "<gradient:#${Colors.SECONDARY}:#${Colors.PRIMARY}:#${Colors.SECONDARY}>GalaxyNetwork</gradient>"
|
||||||
return if (bold) {
|
return if (bold) {
|
||||||
"<bold>${name}</bold>"
|
"<bold>${name}</bold>"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user