diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt index 09e597f..f19ceb2 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt @@ -18,7 +18,7 @@ class ClickBox( x: Double, y: Double, private val name: TranslatableComponent? = null ): ColoredElement(x, y, 80, 10, 0x6C9E9D, 0.5F) { - val buttons = mutableMapOf() + val buttons = mutableMapOf() // Can contain up to 16 buttons fun addButtons(vararg collect: Pair Unit)?>, color: Int = 0x6C9E9D, kind: Type = Type.TOGGLE): ClickBox { buttons.putAll( collect.map {