diff --git a/neoforge/src/main/java/net/blay09/mods/fertilization/NeoForgeFertilization.java b/neoforge/src/main/java/net/blay09/mods/fertilization/NeoForgeFertilization.java index 3083846..dc7c439 100644 --- a/neoforge/src/main/java/net/blay09/mods/fertilization/NeoForgeFertilization.java +++ b/neoforge/src/main/java/net/blay09/mods/fertilization/NeoForgeFertilization.java @@ -1,12 +1,15 @@ package net.blay09.mods.fertilization; import net.blay09.mods.balm.api.Balm; +import net.blay09.mods.balm.neoforge.NeoForgeLoadContext; +import net.neoforged.bus.api.IEventBus; import net.neoforged.fml.common.Mod; @Mod(Fertilization.MOD_ID) public class NeoForgeFertilization { - public NeoForgeFertilization() { - Balm.initialize(Fertilization.MOD_ID, Fertilization::initialize); + public NeoForgeFertilization(IEventBus modEventBus) { + final var context = new NeoForgeLoadContext(modEventBus); + Balm.initialize(Fertilization.MOD_ID, context, Fertilization::initialize); } }