diff --git a/paperktlib-paper/src/main/kotlin/com/filkond/paperktlib/paper/ext/Event.kt b/paperktlib-paper/src/main/kotlin/com/filkond/paperktlib/paper/ext/Event.kt new file mode 100644 index 0000000..0fe2955 --- /dev/null +++ b/paperktlib-paper/src/main/kotlin/com/filkond/paperktlib/paper/ext/Event.kt @@ -0,0 +1,7 @@ +package com.filkond.paperktlib.paper.ext + +import org.bukkit.event.Cancellable + +fun Cancellable.cancel() { + isCancelled = true +} \ No newline at end of file