Skip to content

Commit

Permalink
Fix build error on forge
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Aug 30, 2024
1 parent 8fcade9 commit 8526834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forge/src/main/kotlin/dev/erdragh/astralbot/forge/BotMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import net.minecraftforge.fml.event.config.ModConfigEvent
@Mod("astralbot")
object BotMod {
init {
ModLoadingContext.get().activeContainer.registerConfig(ModConfig.Type.SERVER, AstralBotConfig.SPEC)
ModLoadingContext.get().activeContainer.registerConfig(ModConfig.Type.SERVER, AstralBotTextConfig.SPEC, "astralbot-text.toml")
ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, AstralBotConfig.SPEC)
ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, AstralBotTextConfig.SPEC, "astralbot-text.toml")
MOD_BUS.addListener(::onConfigReloaded)

FORGE_BUS.addListener(::onServerStart)
Expand Down

0 comments on commit 8526834

Please sign in to comment.