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 9650343..0fefb27 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 @@ -16,7 +16,7 @@ import org.lwjgl.opengl.GL20 class ClickBox( x: Double, y: Double, private val name: TranslatableComponent? = null, - val buttons: MutableCollection = mutableListOf() + val buttons: MutableCollection = mutableSetOf() ): ColoredElement(x, y, 80, 10, 0x6C9E9D, 0.5F) { @JvmField val scrollBar: ColoredElement = object: ColoredElement(