Skip to content

Commit 0cc372f

Browse files
author
IMS212
committed
Use official Sodium 0.4.2
1 parent e6b4ed4 commit 0cc372f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildscript/src/main/java/Buildscript.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
public class Buildscript extends MultiSrcDirFabricProject {
2727
static final boolean SODIUM = true;
28-
static final boolean CUSTOM_SODIUM = true;
28+
static final boolean CUSTOM_SODIUM = false;
2929
static final String customSodiumName = "sodium-fabric-mc1.18.2-0.4.1+rev.d50338a.jar";
3030

3131
@Override
@@ -78,7 +78,7 @@ public void getModDependencies(ModDependencyCollector d) {
7878
if (CUSTOM_SODIUM) {
7979
d.add(new JavaJarDependency(getProjectDir().resolve("custom_sodium").resolve(customSodiumName).toAbsolutePath(), null, new MavenId("me.jellysquid.mods", "sodium-fabric", customSodiumName.replace("sodium-fabric-", ""))), ModDependencyFlag.COMPILE, ModDependencyFlag.RUNTIME);
8080
} else {
81-
d.addMaven("https://api.modrinth.com/maven", new MavenId("maven.modrinth", "sodium", "mc1.18.1-0.4.1"), ModDependencyFlag.COMPILE, ModDependencyFlag.RUNTIME);
81+
d.addMaven("https://api.modrinth.com/maven", new MavenId("maven.modrinth", "sodium", "mc1.18.2-0.4.1"), ModDependencyFlag.COMPILE, ModDependencyFlag.RUNTIME);
8282
}
8383

8484
d.addMaven(Maven.MAVEN_CENTRAL, new MavenId("org.joml:joml:1.10.2"), ModDependencyFlag.COMPILE, ModDependencyFlag.RUNTIME);

0 commit comments

Comments
 (0)