[FIX] Disable Sodium lwjgl check

This commit is contained in:
Gravita 2024-07-05 16:27:50 +07:00
parent 78b4f1e3aa
commit 8c11ab0cbe
No known key found for this signature in database
GPG key ID: 543A8F335C9CD633

View file

@ -103,6 +103,7 @@ public static ClientProfile makeProfile(ClientProfile.Version version, String ti
}
if (fabric.isPresent()) {
builder.setAltClassPath(fabric.orElseThrow().getAltClassPath());
jvmArgs.add("-Dsodium.checks.issue2561=false"); // Please don't check LWJL3 version (Sodium: https://github.com/CaffeineMC/sodium-fabric/issues/2561 )
}
if(quilt.isPresent()) {
builder.setClassLoaderConfig(ClientProfile.ClassLoaderConfig.SYSTEM_ARGS);