Skip to content

Commit

Permalink
Update MixinEmbeddiumGameOptionPages.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Jan 6, 2024
1 parent 43a4a03 commit b96c3cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import me.cortex.nvidium.Nvidium;
import me.jellysquid.mods.sodium.client.SodiumClientMod;
import me.jellysquid.mods.sodium.client.gui.SodiumGameOptionPages;
import me.jellysquid.mods.sodium.client.gui.options.OptionGroup;
import me.jellysquid.mods.sodium.client.gui.options.OptionImpl;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
Expand All @@ -16,7 +15,8 @@ public class MixinEmbeddiumGameOptionPages {
ordinal = 2), method = "advanced", remap = false)
private static OptionImpl faceculling(OptionImpl.Builder builder) {
builder.setEnabled(!Nvidium.IS_ENABLED);
SodiumClientMod.options().performance.useTranslucentFaceSorting = false;
if (Nvidium.IS_ENABLED)
SodiumClientMod.options().performance.useTranslucentFaceSorting = false;
return builder.build();
}
}

0 comments on commit b96c3cf

Please sign in to comment.