Update KSpigotListeners.kt
This commit is contained in:
@@ -61,6 +61,7 @@ inline fun <reified T : Event> SingleListener<T>.register(
|
|||||||
* @param T the type of event to listen to
|
* @param T the type of event to listen to
|
||||||
* @param priority the priority when multiple listeners handle this event
|
* @param priority the priority when multiple listeners handle this event
|
||||||
* @param ignoreCancelled if manual cancellation should be ignored
|
* @param ignoreCancelled if manual cancellation should be ignored
|
||||||
|
* @param register if the event should be registered
|
||||||
* @param onEvent the event callback
|
* @param onEvent the event callback
|
||||||
*/
|
*/
|
||||||
inline fun <reified T : Event> listen(
|
inline fun <reified T : Event> listen(
|
||||||
|
Reference in New Issue
Block a user