diff --git a/common/src/main/kotlin/fr/username404/snowygui/EventSnowy.kt b/common/src/main/kotlin/fr/username404/snowygui/EventSnowy.kt index d82aca6..ba8d70f 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/EventSnowy.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/EventSnowy.kt @@ -2,6 +2,7 @@ package fr.username404.snowygui interface EventSnowy { val type: String + @SafeVarargs fun fire(vararg args: T?) { useKey(type).forEach { it(args)