Skip to content

Commit

Permalink
Implement isDev on NeoForge
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Apr 5, 2024
1 parent 53ad95c commit e2374d0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.google.common.base.Suppliers;
import net.neoforged.fml.ModList;
import net.neoforged.fml.loading.FMLLoader;
import net.neoforged.fml.loading.FMLPaths;
import org.geysermc.hydraulic.platform.HydraulicBootstrap;
import org.geysermc.hydraulic.platform.mod.ModInfo;
Expand Down Expand Up @@ -53,6 +54,6 @@ public class HydraulicNeoForgeBootstrap implements HydraulicBootstrap {

@Override
public boolean isDev() {
return false; // TODO
return !FMLLoader.isProduction();
}
}

0 comments on commit e2374d0

Please sign in to comment.