diff --git a/src/main/java/net/silentclient/client/gui/util/BlurUtil.java b/src/main/java/net/silentclient/client/gui/util/BlurUtil.java index 3e2c54e..da3f808 100644 --- a/src/main/java/net/silentclient/client/gui/util/BlurUtil.java +++ b/src/main/java/net/silentclient/client/gui/util/BlurUtil.java @@ -46,14 +46,14 @@ public class BlurUtil { } public static void blur(float x, float y, float x2, float y2, ScaledResolution sr){ + Minecraft mc = Minecraft.getMinecraft(); try { - if(SilentClientTweaker.hasOptifine && GameSettings.class.getDeclaredField("ofFastRender").getBoolean("ofFastRender")) { + if(SilentClientTweaker.hasOptifine && GameSettings.class.getDeclaredField("ofFastRender").getBoolean(mc.gameSettings)) { return; } } catch (Exception err) { Client.logger.catching(err); } - Minecraft mc = Minecraft.getMinecraft(); int factor = sr.getScaleFactor(); int factor2 = sr.getScaledWidth();