This commit is contained in:
kirillsaint 2023-10-22 13:46:23 +06:00
parent 7078bca631
commit 3af556bc26

View File

@ -59,7 +59,9 @@ public class GeneralMod extends Mod {
break; break;
case "Menu Animations": case "Menu Animations":
case "Menu Animations Speed": case "Menu Animations Speed":
ClickGUI.introAnimation.setDuration(Client.getInstance().getSettingsManager().getSettingByName(this, "Menu Animations").getValBoolean() ? Client.getInstance().getSettingsManager().getSettingByName(this, "Menu Animations Speed").getValInt() : 1); if(ClickGUI.introAnimation != null) {
ClickGUI.introAnimation.setDuration(Client.getInstance().getSettingsManager().getSettingByName(this, "Menu Animations").getValBoolean() ? Client.getInstance().getSettingsManager().getSettingByName(this, "Menu Animations Speed").getValInt() : 1);
}
break; break;
} }
} }