Skip to content

Commit

Permalink
fix: Fix startup crash on NeoForge #29
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 31, 2024
1 parent 0183505 commit fef30e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

import net.blay09.mods.balm.api.Balm;
import net.blay09.mods.balm.neoforge.NeoForgeLoadContext;
import net.neoforged.bus.EventBus;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;

@Mod(PrettyBeaches.MOD_ID)
public class NeoForgePrettyBeaches {

public NeoForgePrettyBeaches(EventBus modEventBus) {
public NeoForgePrettyBeaches(IEventBus modEventBus) {
final var context = new NeoForgeLoadContext(modEventBus);
Balm.initialize(PrettyBeaches.MOD_ID, context, PrettyBeaches::initialize);
}
Expand Down

0 comments on commit fef30e1

Please sign in to comment.