diff options
author | Linnea Gräf <nea@nea.moe> | 2024-05-28 00:04:44 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-05-28 00:04:44 +0200 |
commit | 8a5c5d45f87f38d9a7484b73c0505b95e63a21f1 (patch) | |
tree | b4408211d9ee9e9aea315316b1182462d7d1de2e /src/main/kotlin/event/UltraEvent.kt | |
parent | fbd72e2a377a4711190307eed581b8b1d80e3406 (diff) | |
download | ultra-notifier-8a5c5d45f87f38d9a7484b73c0505b95e63a21f1.tar.gz ultra-notifier-8a5c5d45f87f38d9a7484b73c0505b95e63a21f1.tar.bz2 ultra-notifier-8a5c5d45f87f38d9a7484b73c0505b95e63a21f1.zip |
Add commands
Diffstat (limited to 'src/main/kotlin/event/UltraEvent.kt')
-rw-r--r-- | src/main/kotlin/event/UltraEvent.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/event/UltraEvent.kt b/src/main/kotlin/event/UltraEvent.kt index 42fa4f2..4f615c1 100644 --- a/src/main/kotlin/event/UltraEvent.kt +++ b/src/main/kotlin/event/UltraEvent.kt @@ -32,6 +32,10 @@ abstract class UltraEvent : setCancelled(true) } + fun post() { + UltraNotifierEvents.post(this) + } + } |