From d98332f6145e4d799436c0d4948c847a2d3df675 Mon Sep 17 00:00:00 2001 From: Tschipp <11649893+Tschipp@users.noreply.github.com> Date: Sun, 5 Jan 2025 18:07:10 +0100 Subject: [PATCH] Fixed Forge Server Crash --- Forge/src/main/java/tschipp/carryon/events/ClientEvents.java | 2 +- Forge/src/main/java/tschipp/carryon/events/ModClientEvents.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Forge/src/main/java/tschipp/carryon/events/ClientEvents.java b/Forge/src/main/java/tschipp/carryon/events/ClientEvents.java index 77dfca3..cbe021c 100644 --- a/Forge/src/main/java/tschipp/carryon/events/ClientEvents.java +++ b/Forge/src/main/java/tschipp/carryon/events/ClientEvents.java @@ -42,7 +42,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 diff --git a/Forge/src/main/java/tschipp/carryon/events/ModClientEvents.java b/Forge/src/main/java/tschipp/carryon/events/ModClientEvents.java index 4524ddf..ddfd30d 100644 --- a/Forge/src/main/java/tschipp/carryon/events/ModClientEvents.java +++ b/Forge/src/main/java/tschipp/carryon/events/ModClientEvents.java @@ -29,7 +29,7 @@ import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; import tschipp.carryon.Constants; import tschipp.carryon.client.keybinds.CarryOnKeybinds; -@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