Skip to content

Commit

Permalink
Fixed forge server crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschipp committed Jan 5, 2025
1 parent ae26055 commit dd149b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import tschipp.carryon.common.carry.CarryOnData;
import tschipp.carryon.common.carry.CarryOnDataManager;

@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.FORGE, modid = Constants.MOD_ID)
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.FORGE, modid = Constants.MOD_ID, value = Dist.CLIENT)
public class ClientEvents {

@SubscribeEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import tschipp.carryon.config.forge.ConfigLoaderImpl;
import tschipp.carryon.platform.Services;

@Mod.EventBusSubscriber(bus = Bus.MOD, modid = Constants.MOD_ID)
@Mod.EventBusSubscriber(bus = Bus.MOD, modid = Constants.MOD_ID, value=Dist.CLIENT)
public class ModClientEvents
{
@SubscribeEvent
Expand All @@ -45,6 +45,7 @@ public static void registerKeybinds(RegisterKeyMappingsEvent event)
CarryOnKeybinds.registerKeybinds(event::register);
}


@SubscribeEvent
public static void clientSetup(FMLClientSetupEvent event)
{
Expand Down

0 comments on commit dd149b2

Please sign in to comment.