Skip to content

Commit

Permalink
oddities in dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Jan 14, 2024
1 parent 41c43ed commit 0ccde65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependencies.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
forge=47.1.3
zeta=1.0-beta-1.28
zeta=1.0-beta-2.32
jei=4712868
terrablender=1.20.1-3.0.0.169
flan=4819286
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/org/violetmoon/quark/base/Quark.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
import org.violetmoon.quark.integration.terrablender.TerrablenderUndergroundBiomeHandler;
import org.violetmoon.quark.integration.terrablender.VanillaUndergroundBiomeHandler;
import org.violetmoon.zeta.Zeta;
import org.violetmoon.zeta.multiloader.Env;
import org.violetmoon.zeta.util.Utils;
import org.violetmoon.zetaimplforge.ForgeZeta;

@Mod(Quark.MOD_ID)
public class Quark {

public static final String MOD_ID = "quark";
public static final String ODDITIES_ID = "quarkoddities";
public static final String ODDITIES_ID = Utils.isDevEnv() ? "quark" : "quarkoddities";

public static Quark instance;
public static CommonProxy proxy;
Expand All @@ -51,7 +53,7 @@ public Quark() {

ZETA.start();

proxy = DistExecutor.runForDist(() -> ClientProxy::new, () -> CommonProxy::new);
proxy = Env.unsafeRunForDist(() -> ClientProxy::new, () -> CommonProxy::new);
proxy.start();
}

Expand Down

0 comments on commit 0ccde65

Please sign in to comment.