Skip to content

Commit

Permalink
Fix invalid mixin target
Browse files Browse the repository at this point in the history
This mixin would not have an effect since Forge overrides the method
  • Loading branch information
embeddedt committed Oct 28, 2023
1 parent ad2e05e commit 2707eaf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package me.jellysquid.mods.sodium.mixin.features.options;

import me.jellysquid.mods.sodium.client.SodiumClientMod;
import net.minecraft.client.gui.hud.InGameHud;
import net.minecraftforge.client.gui.ForgeIngameGui;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;

@Mixin(InGameHud.class)
@Mixin(ForgeIngameGui.class)
public class MixinInGameHud {
@Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;isFancyGraphicsOrBetter()Z"))
private boolean redirectFancyGraphicsVignette() {
Expand Down

0 comments on commit 2707eaf

Please sign in to comment.