Skip to content

Commit

Permalink
fix: expose cancelled setter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed Apr 4, 2024
1 parent ceb57d7 commit ef5ff25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion events/src/main/kotlin/gg/skytils/event/Event.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ open class Event {

open class CancellableEvent: Event() {
var cancelled: Boolean = false
private set

override fun continuePropagation(): Boolean = !cancelled
}

0 comments on commit ef5ff25

Please sign in to comment.