Skip to content

Commit

Permalink
Register reload listener on correct event bus
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Oct 12, 2023
1 parent dc21002 commit a1ffbf9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a1ffbf9

Please sign in to comment.