diff --git a/src/main/java/fi/dy/masa/tweakeroo/mixin/MixinBackgroundRenderer.java b/src/main/java/fi/dy/masa/tweakeroo/mixin/MixinBackgroundRenderer.java index 8216ee771..fb98d91fc 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/mixin/MixinBackgroundRenderer.java +++ b/src/main/java/fi/dy/masa/tweakeroo/mixin/MixinBackgroundRenderer.java @@ -67,8 +67,10 @@ private static float overrideFogStart(float original) { return Math.max(512, MinecraftClient.getInstance().gameRenderer.getViewDistance()) * 1.6f; } + return original; } + @ModifyVariable( method = "applyFog(Lnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/BackgroundRenderer$FogType;FZ)V", slice = @Slice( @@ -80,6 +82,7 @@ private static float overrideFogEnd(float original) { return Math.max(512, MinecraftClient.getInstance().gameRenderer.getViewDistance()) * 2.0f; } + return original; } */