From 93e6e0ab16df0808ee7720202a32967eddcf5c10 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Tue, 7 May 2024 21:11:09 +0200 Subject: Fix up most of the remaining event handlers [no changelog] --- src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt') diff --git a/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt b/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt index 2416fec..4b7ba9e 100644 --- a/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt +++ b/src/main/kotlin/moe/nea/firmament/features/FirmamentFeature.kt @@ -19,7 +19,9 @@ interface FirmamentFeature : SubscriptionOwner { set(value) { FeatureManager.setEnabled(identifier, value) } + override val delegateFeature: FirmamentFeature + get() = this val config: ManagedConfig? get() = null - fun onLoad() + fun onLoad() {} } -- cgit