mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-13 02:51:33 +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){
|
public static void blur(float x, float y, float x2, float y2, ScaledResolution sr){
|
||||||
|
Minecraft mc = Minecraft.getMinecraft();
|
||||||
try {
|
try {
|
||||||
if(SilentClientTweaker.hasOptifine && GameSettings.class.getDeclaredField("ofFastRender").getBoolean("ofFastRender")) {
|
if(SilentClientTweaker.hasOptifine && GameSettings.class.getDeclaredField("ofFastRender").getBoolean(mc.gameSettings)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} catch (Exception err) {
|
} catch (Exception err) {
|
||||||
Client.logger.catching(err);
|
Client.logger.catching(err);
|
||||||
}
|
}
|
||||||
Minecraft mc = Minecraft.getMinecraft();
|
|
||||||
|
|
||||||
int factor = sr.getScaleFactor();
|
int factor = sr.getScaleFactor();
|
||||||
int factor2 = sr.getScaledWidth();
|
int factor2 = sr.getScaledWidth();
|
||||||
|
Loading…
Reference in New Issue
Block a user