commit fa2076c07609d86c3d1fabfcf1150907f3931b14
parent ff8c0bd9ffb75c02c7b50a1163a1dbe0a0925f37
Author: Amb0s <ambos@disroot.org>
Date: Sun, 20 Aug 2023 17:15:10 +0200
Removed useless injection into the fog density call
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/main/java/turniplabs/vanillafixes/mixin/WorldRendererMixin.java b/src/main/java/turniplabs/vanillafixes/mixin/WorldRendererMixin.java
@@ -23,10 +23,4 @@ public class WorldRendererMixin {
private void fixFogEnd(Args args) {
args.set(1, farPlaneDistance * 32);
}
-
- @ModifyArgs(method = "setupFog", at = @At(value = "INVOKE",
- target = "Lorg/lwjgl/opengl/GL11;glFogf(IF)V", ordinal = 4), require = 0)
- private void fixFogDensity(Args args) {
- args.set(1, 0.0f);
- }
}