Fixed holder not being registered

This commit is contained in:
Auxilor
2022-02-11 10:25:31 +00:00
parent 68bb19257b
commit c20b9510e5
@@ -5,6 +5,7 @@ import com.willfp.boosters.config.BoostersYml
import com.willfp.eco.core.command.impl.PluginCommand
import com.willfp.eco.core.integrations.placeholder.PlaceholderEntry
import com.willfp.eco.core.integrations.placeholder.PlaceholderManager
import com.willfp.eco.util.ListUtils
import com.willfp.eco.util.formatEco
import com.willfp.eco.util.savedDisplayName
import com.willfp.libreforge.LibReforgePlugin
@@ -35,6 +36,8 @@ class BoostersPlugin : LibReforgePlugin(0, 14269, "&e") {
false
)
)
this.registerHolderProvider { ListUtils.toSingletonList(activeBooster?.booster) }
}
override fun loadListeners(): List<Listener> {