Skip to content

Commit

Permalink
Fix dedicated server crash
Browse files Browse the repository at this point in the history
  • Loading branch information
IcarussOne committed May 30, 2024
1 parent 2252f57 commit 07e7502
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

@Mod(modid = CrimsonRevelations.MODID, name = CrimsonRevelations.NAME, version = CrimsonRevelations.VERSION, dependencies = CrimsonRevelations.DEPENDENCIES)
public class CrimsonRevelations {
Expand All @@ -23,6 +25,7 @@ public class CrimsonRevelations {
public static CrimsonRevelations instance;

@EventHandler
@SideOnly(Side.CLIENT)
public void preInit(FMLPreInitializationEvent event) {
RenderingHandler.preInit();
}
Expand Down

0 comments on commit 07e7502

Please sign in to comment.