Skip to content

Commit

Permalink
fix(neoforge): Fix crash due to registering BalmItems as event listen…
Browse files Browse the repository at this point in the history
…er with no events
  • Loading branch information
BlayTheNinth committed Dec 8, 2023
1 parent 363b77c commit da771ca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public void addToCreativeModeTab(ResourceLocation tabIdentifier, Supplier<ItemLi
}

public void register() {
FMLJavaModLoadingContext.get().getModEventBus().register(getActiveRegistrations());
// No longer needed since we have no SubscribeEvents
// FMLJavaModLoadingContext.get().getModEventBus().register(getActiveRegistrations());
}

private Registrations getActiveRegistrations() {
Expand Down

0 comments on commit da771ca

Please sign in to comment.