From 970dfddaf9e80d6b206f411139227397f4d9e847 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 17 Nov 2024 17:29:15 +0100 Subject: feat: Add bazaar/ah search hotkey --- src/main/kotlin/features/FeatureManager.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/kotlin/features/FeatureManager.kt') diff --git a/src/main/kotlin/features/FeatureManager.kt b/src/main/kotlin/features/FeatureManager.kt index 55f6328..2110d09 100644 --- a/src/main/kotlin/features/FeatureManager.kt +++ b/src/main/kotlin/features/FeatureManager.kt @@ -90,6 +90,9 @@ object FeatureManager : DataHolder(serializer(), "feature fun subscribeEvents() { SubscriptionList.allLists.forEach { it.provideSubscriptions { + it.owner.javaClass.classes.forEach { + runCatching { it.getDeclaredField("INSTANCE").get(null) } + } subscribeSingleEvent(it) } } -- cgit