Skip to content

Commit

Permalink
Make init classes final.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnuecke committed Apr 15, 2024
1 parent 280bd67 commit ddfc19e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

@Mod(API.MOD_ID)
public class CommonSetupForge {
public final class CommonSetupForge {
public CommonSetupForge() {
EventBuses.registerModEventBus(API.MOD_ID, FMLJavaModLoadingContext.get().getModEventBus());
CommonSetup.initialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import net.neoforged.fml.common.Mod;

@Mod(API.MOD_ID)
public class CommonSetupNeoForge {
public final class CommonSetupNeoForge {
public CommonSetupNeoForge(final IEventBus modEventBus) {
ModEventBus.INSTANCE = modEventBus;
CommonSetup.initialize();
Expand Down

0 comments on commit ddfc19e

Please sign in to comment.