Edit the second argument of the Category enum class
This commit is contained in:
parent
9a133f31fe
commit
9530100ca3
|
@ -18,7 +18,7 @@ annotation class ButtonInfo(
|
|||
CLICK // TODO Fix the CLICK behaviour
|
||||
}
|
||||
}
|
||||
}; enum class Category(val translationKey: String, val color: Colors) {
|
||||
}; enum class Category(val translationKey: String, val categoryColor: Colors) {
|
||||
MISC("snowy.clickbox.misc", Colors.BLUE),
|
||||
RISKY("snowy.clickbox.risky", Colors.RED);
|
||||
init { ClickGui.components.add(ClickBox(y = 0.0, name = TranslatableComponent(translationKey))) }
|
||||
|
|
Loading…
Reference in New Issue