mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:41:31 +01:00
Update MenuBlurUtils.java
This commit is contained in:
parent
42a1c727a6
commit
de9212fdab
@ -22,8 +22,6 @@ public class MenuBlurUtils {
|
||||
public static void renderBackground(GuiScreen instance) {
|
||||
if(Client.getInstance().getSettingsManager().getSettingByClass(GeneralMod.class, "Menu Background Blur").getValBoolean()) {
|
||||
BlurUtil.blur2(0, 0, 1920, 1080, 0, 0);
|
||||
}
|
||||
if(Client.getInstance().getSettingsManager().getSettingByClass(GeneralMod.class, "Menu Background Blur").getValBoolean() && !Client.getInstance().getGlobalSettings().isLite()) {
|
||||
((GuiAccessor) instance).silent$drawGradientRect(0, 0, instance.width, instance.height, new Color(0, 0, 0, 0).getRGB(), new Color(0, 0, 0, 0).getRGB());
|
||||
} else {
|
||||
instance.drawDefaultBackground();
|
||||
|
Loading…
Reference in New Issue
Block a user