Skip to content

Commit

Permalink
fix: Fix NeoForge compile
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 23, 2024
1 parent 6917113 commit b2c91f7
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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);
}

}

0 comments on commit b2c91f7

Please sign in to comment.