mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:01:32 +01:00
Update BlurUtil.java
This commit is contained in:
parent
f7daefc9c2
commit
136ef1e222
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user