From a1ffbf965ad54653805413f163e8a59c8bea743f Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:29:22 -0400 Subject: [PATCH] Register reload listener on correct event bus --- .../java/me/jellysquid/mods/sodium/client/SodiumClientMod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/jellysquid/mods/sodium/client/SodiumClientMod.java b/src/main/java/me/jellysquid/mods/sodium/client/SodiumClientMod.java index 7521f4531..9a0430288 100644 --- a/src/main/java/me/jellysquid/mods/sodium/client/SodiumClientMod.java +++ b/src/main/java/me/jellysquid/mods/sodium/client/SodiumClientMod.java @@ -35,7 +35,7 @@ public class SodiumClientMod { public SodiumClientMod() { FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); - MinecraftForge.EVENT_BUS.addListener(this::registerReloadListener); + FMLJavaModLoadingContext.get().getModEventBus().addListener(this::registerReloadListener); MOD_VERSION = ModList.get().getModContainerById(MODID).get().getModInfo().getVersion().toString(); oculusLoaded = ModList.get().isLoaded("oculus");