aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java')
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java b/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java
index 43fa0b9..2e3fb0d 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinGameSettings_OptiFine.java
@@ -1,5 +1,6 @@
package makamys.neodymium.mixin;
+import org.spongepowered.asm.mixin.Dynamic;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Pseudo;
import org.spongepowered.asm.mixin.Shadow;
@@ -7,10 +8,12 @@ import org.spongepowered.asm.mixin.Shadow;
import makamys.neodymium.ducks.IMixinGameSettings_OptiFine;
import net.minecraft.client.settings.GameSettings;
-@Mixin(value = GameSettings.class, remap = false)
+@Mixin(value = GameSettings.class,
+ remap = false)
@Pseudo
public class MixinGameSettings_OptiFine implements IMixinGameSettings_OptiFine {
-
+
+ @Dynamic
@Shadow
private int ofFogType;