aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/subscription
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-09-12 13:34:11 +0200
committerLinnea Gräf <nea@nea.moe>2024-09-12 13:34:11 +0200
commit52623b715d395f65f96e09f4492285935b797b4b (patch)
tree1b96097a17dd9c81671478b11d127ce3278ddada /src/main/kotlin/events/subscription
parentab809e197f3e8c9a51745ee9510bc65c952c0cc8 (diff)
downloadFirmament-fix/citresewn.tar.gz
Firmament-fix/citresewn.tar.bz2
Firmament-fix/citresewn.zip
Isolate CIT resewn compatfix/citresewn
Diffstat (limited to 'src/main/kotlin/events/subscription')
-rw-r--r--src/main/kotlin/events/subscription/SubscriptionList.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/events/subscription/SubscriptionList.kt b/src/main/kotlin/events/subscription/SubscriptionList.kt
index e74a65a..817efc3 100644
--- a/src/main/kotlin/events/subscription/SubscriptionList.kt
+++ b/src/main/kotlin/events/subscription/SubscriptionList.kt
@@ -21,5 +21,8 @@ interface SubscriptionList {
}
.toList()
}
+ init {
+ require(allLists.isNotEmpty())
+ }
}
}