mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
XP Bars now can have custom titles (edit the locale)
This commit is contained in:
@ -250,6 +250,10 @@ public class ExperienceConfig extends AutoUpdateConfigLoader {
|
||||
/*
|
||||
* Experience Bar Stuff
|
||||
*/
|
||||
public boolean getDoExperienceBarsAlwaysUpdateTitle()
|
||||
{
|
||||
return config.getBoolean("Experience_Bars.ThisMayCauseLag.AlwaysUpdateTitlesWhenXPIsGained", false);
|
||||
}
|
||||
public BarColor getExperienceBarColor(PrimarySkillType primarySkillType)
|
||||
{
|
||||
String colorValueFromConfig = config.getString("Experience_Bars.Style."+StringUtils.getCapitalized(primarySkillType.toString())+".Color");
|
||||
|
Reference in New Issue
Block a user