diff --git a/src/main/kotlin/net/axay/kspigot/gui/elements/GUISpaceCompound.kt b/src/main/kotlin/net/axay/kspigot/gui/elements/GUISpaceCompound.kt index 522449bc..019d8da7 100644 --- a/src/main/kotlin/net/axay/kspigot/gui/elements/GUISpaceCompound.kt +++ b/src/main/kotlin/net/axay/kspigot/gui/elements/GUISpaceCompound.kt @@ -156,7 +156,7 @@ abstract class AbstractGUISpaceCompound internal constructo /** * Adds new elements to the compound. */ - fun addContent(elements: Collection) { + fun addContent(elements: Iterable) { content += elements contentSort.invoke()