diff --git a/src/main/java/dev/tr7zw/skinlayers/SkinLayersBootstrap.java b/src/main/java/dev/tr7zw/skinlayers/SkinLayersBootstrap.java index 141a4f3..e9f404f 100644 --- a/src/main/java/dev/tr7zw/skinlayers/SkinLayersBootstrap.java +++ b/src/main/java/dev/tr7zw/skinlayers/SkinLayersBootstrap.java @@ -16,16 +16,15 @@ //#elseif NEOFORGE //$$package dev.tr7zw.skinlayers; //$$ -//$$import net.neoforged.api.distmarker.Dist; -//$$import net.neoforged.fml.DistExecutor; //$$import net.neoforged.fml.common.Mod; +//$$import net.neoforged.fml.loading.FMLEnvironment; //$$ //$$@Mod("skinlayers3d") //$$public class SkinLayersBootstrap { //$$ //$$ public SkinLayersBootstrap() { -//$$ DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> SkinLayersMod::new); +//$$ if (FMLEnvironment.dist.isClient()) new SkinLayersMod(); //$$ } //$$ //$$} -//#endif \ No newline at end of file +//#endif