Skip to content

Commit

Permalink
Merge pull request #120 from c0nstexpr/development
Browse files Browse the repository at this point in the history
feat(fabric-api): make MCCoroutineExceptionEvent to be SAM
  • Loading branch information
Shynixn authored Aug 6, 2024
2 parents ca5e27b + 7438446 commit 93e73b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import net.fabricmc.fabric.api.event.EventFactory
* Cancelling this exception causes the error to not get logged and offers to possibility for custom logging.
*/
@FunctionalInterface
interface MCCoroutineExceptionEvent {
fun interface MCCoroutineExceptionEvent {
companion object {
val EVENT: Event<MCCoroutineExceptionEvent> =
EventFactory.createArrayBacked(MCCoroutineExceptionEvent::class.java) { listeners ->
Expand Down

0 comments on commit 93e73b1

Please sign in to comment.