From 9cbc682ed20c0a4f1ec1675df6608b4cddeb9637 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Fri, 30 Oct 2020 21:36:38 +0100 Subject: [PATCH] Update GUISpaceCompound.kt --- .../kotlin/net/axay/kspigot/gui/elements/GUISpaceCompound.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()