Skip to content

Commit

Permalink
Fix neoforge²
Browse files Browse the repository at this point in the history
  • Loading branch information
tr7zw committed Jun 14, 2024
1 parent a9ba9e0 commit bad861b
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/main/java/dev/tr7zw/firstperson/FirstPersonBootstrap.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@
//$$@Mod("firstperson")
//$$public class FirstPersonBootstrap {
//$$
//$$ public FirstPersonBootstrap() {
//$$ DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> FirstPersonModelMod::new);
//$$ }
//$$
//$$ public FirstPersonBootstrap() {
//$$ DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> FirstPersonModelMod::new);
//$$ }
//$$
//$$}
//#elseif NEOFORGE
//$$package dev.tr7zw.firstperson;
//$$
//$$import net.neoforged.api.distmarker.Dist;
//$$import net.neoforged.fml.DistExecutor;
//$$import net.neoforged.fml.loading.FMLEnvironment;
//$$import net.neoforged.fml.common.Mod;
//$$
//$$@Mod("firstperson")
//$$public class FirstPersonBootstrap {
//$$
//$$ public FirstPersonBootstrap() {
//$$ DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> FirstPersonModelMod::new);
//$$ }
//$$
//$$ public FirstPersonBootstrap() {
//$$ if(FMLEnvironment.dist == Dist.CLIENT) {
//$$ new FirstPersonModelMod();
//$$ }
//$$ }
//$$
//$$}
//#endif

0 comments on commit bad861b

Please sign in to comment.