From fef30e15d0037eff7d0a96693bf9283add88c929 Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Fri, 31 May 2024 08:39:39 +0200 Subject: [PATCH] fix: Fix startup crash on NeoForge #29 --- .../net/blay09/mods/prettybeaches/NeoForgePrettyBeaches.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neoforge/src/main/java/net/blay09/mods/prettybeaches/NeoForgePrettyBeaches.java b/neoforge/src/main/java/net/blay09/mods/prettybeaches/NeoForgePrettyBeaches.java index b588ebe..b8203be 100644 --- a/neoforge/src/main/java/net/blay09/mods/prettybeaches/NeoForgePrettyBeaches.java +++ b/neoforge/src/main/java/net/blay09/mods/prettybeaches/NeoForgePrettyBeaches.java @@ -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); }