diff options
Diffstat (limited to 'src/main/kotlin/events')
-rw-r--r-- | src/main/kotlin/events/subscription/SubscriptionList.kt | 3 |
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()) + } } } |