Fixed forge server crash
This commit is contained in:
parent
ae260556b2
commit
dd149b2472
|
|
@ -40,7 +40,7 @@ import tschipp.carryon.client.render.CarryRenderHelper;
|
|||
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
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ import tschipp.carryon.config.BuiltConfig;
|
|||
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
|
||||
|
|
@ -45,6 +45,7 @@ public class ModClientEvents
|
|||
CarryOnKeybinds.registerKeybinds(event::register);
|
||||
}
|
||||
|
||||
|
||||
@SubscribeEvent
|
||||
public static void clientSetup(FMLClientSetupEvent event)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user