Skip to content

Commit

Permalink
Fix crash in SMP
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Jul 19, 2022
1 parent 4c2f5a2 commit a276de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/cyclops/cyclopscore/init/ModBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public ModBase(String modId, Consumer<T> instanceSetter) {
DistExecutor.runWhenOn(Dist.CLIENT, () -> () -> FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setupClient));
FMLJavaModLoadingContext.get().getModEventBus().addListener(EventPriority.LOWEST, this::afterRegistriesCreated);
FMLJavaModLoadingContext.get().getModEventBus().addListener(EventPriority.HIGHEST, this::beforeRegistriedFilled);
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onRegisterKeyMappings);
DistExecutor.runWhenOn(Dist.CLIENT, () -> () -> FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onRegisterKeyMappings));
MinecraftForge.EVENT_BUS.register(this);

// Register proxies
Expand Down

0 comments on commit a276de9

Please sign in to comment.