mini2
This commit is contained in:
parent
364ce23892
commit
9b4a177529
@ -17,7 +17,7 @@ data class UnknownEvent(
|
||||
|
||||
inline fun <reified T: Event> Event.az(): T? {
|
||||
return if (this !is T) {
|
||||
System.err.println("${this::class.java.name} is not a type of ${T::class.java.name}")
|
||||
//System.err.println("${this::class.java.name} is not a type of ${T::class.java.name}")
|
||||
null
|
||||
} else this
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user