Skip to content

Commit

Permalink
Merge branch '1.21'
Browse files Browse the repository at this point in the history
* 1.21:
  Updated neoforge
  Fixed neoforge setup
  • Loading branch information
Faboslav committed Aug 10, 2024
2 parents 7cb4b2b + b33dd14 commit 04f52e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 04f52e7

Please sign in to comment.