Forgot to remove all of manifold string gradle

This commit is contained in:
James Seibel
2024-11-18 07:15:33 -06:00
parent bc72e925df
commit a9ffd3bd3b
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -659,7 +659,6 @@ allprojects { p ->
options.release = 8; // Core & Api should use Java 8 no matter what options.release = 8; // Core & Api should use Java 8 no matter what
//options.release = rootProject.java_version as Integer // But if you want to test some stuff, then this can be enabled //options.release = rootProject.java_version as Integer // But if you want to test some stuff, then this can be enabled
} }
options.compilerArgs += ["-Xplugin:Manifold"]
options.encoding = "UTF-8" options.encoding = "UTF-8"
} }
@@ -84,7 +84,7 @@ public class SodiumAccessor implements ISodiumAccessor
sodiumPerformanceOptions = optionsClass.getDeclaredField("performance").get(basicOptions); sodiumPerformanceOptions = optionsClass.getDeclaredField("performance").get(basicOptions);
setFogOcclusionMethod = MethodHandles.lookup() setFogOcclusionMethod = MethodHandles.lookup()
.findSetter(Class.forName( .findSetter(Class.forName(
"me.jellysquid.mods.sodium.client.gui.SodiumGameOptions\$PerformanceSettings"), "me.jellysquid.mods.sodium.client.gui.SodiumGameOptions$PerformanceSettings"),
"useFogOcclusion", boolean.class); "useFogOcclusion", boolean.class);
// alternate option if referencing Sodium 0.5 directly // alternate option if referencing Sodium 0.5 directly
@@ -101,7 +101,7 @@ public class SodiumAccessor implements ISodiumAccessor
sodiumPerformanceOptions = optionsClass.getDeclaredField("performance").get(basicOptions); sodiumPerformanceOptions = optionsClass.getDeclaredField("performance").get(basicOptions);
setFogOcclusionMethod = MethodHandles.lookup() setFogOcclusionMethod = MethodHandles.lookup()
.findSetter(Class.forName( .findSetter(Class.forName(
"net.caffeinemc.mods.sodium.client.gui.SodiumGameOptions\$PerformanceSettings"), "net.caffeinemc.mods.sodium.client.gui.SodiumGameOptions$PerformanceSettings"),
"useFogOcclusion", boolean.class); "useFogOcclusion", boolean.class);
} }
} }