mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:51:32 +01:00
Fix
This commit is contained in:
parent
7078bca631
commit
3af556bc26
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user