diff --git a/neoforge/src/main/java/com/faboslav/villagesandpillages/neoforge/VillagesAndPillagesNeoForge.java b/neoforge/src/main/java/com/faboslav/villagesandpillages/neoforge/VillagesAndPillagesNeoForge.java index 48f2abc..a7a6c25 100644 --- a/neoforge/src/main/java/com/faboslav/villagesandpillages/neoforge/VillagesAndPillagesNeoForge.java +++ b/neoforge/src/main/java/com/faboslav/villagesandpillages/neoforge/VillagesAndPillagesNeoForge.java @@ -4,12 +4,13 @@ import com.faboslav.villagesandpillages.platform.neoforge.StructureProcessorTypeRegistryImpl; import com.faboslav.villagesandpillages.platform.neoforge.StructureTypeRegistryImpl; import net.neoforged.bus.api.IEventBus; +import net.neoforged.fml.ModContainer; import net.neoforged.fml.common.Mod; @Mod(VillagesAndPillages.MOD_ID) public final class VillagesAndPillagesNeoForge { - public VillagesAndPillagesNeoForge(IEventBus modEventBus) { + public VillagesAndPillagesNeoForge(ModContainer modContainer, IEventBus modEventBus) { VillagesAndPillages.init(); StructureProcessorTypeRegistryImpl.STRUCTURE_PROCESSOR_TYPES.register(modEventBus);