mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:51:32 +01:00
commit
8256b7eb66
@ -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