We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ae6d7 commit a018c9eCopy full SHA for a018c9e
common/src/main/kotlin/com/lambda/event/listener/SafeListener.kt
@@ -119,7 +119,7 @@ class SafeListener<T : Event>(
119
inline fun <reified T : Event> Any.listen(
120
priority: Int = 0,
121
alwaysListen: Boolean = false,
122
- noinline function: SafeContext.(T) -> Unit = {},
+ noinline function: SafeContext.(T) -> Unit = {}
123
): SafeListener<T> {
124
val listener = SafeListener<T>(priority, this, alwaysListen) { event ->
125
runGameScheduled { function(event) }
0 commit comments