diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt index 90c2074..a572189 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt @@ -149,7 +149,10 @@ class BoostersPlugin : LibReforgePlugin(2036, 14269, "&e") { } ) - this.registerHolderProvider { ListUtils.toSingletonList(activeBooster?.booster as? Holder) } + this.registerHolderProvider { + @Suppress("USELESS_CAST", "UNCHECKED_CAST") // No idea why it's not happy. + ListUtils.toSingletonList(activeBooster?.booster as? Holder) as Iterable + } } override fun handleReloadAdditional() {