Add toggle for event broadcasts - General.EventBroadcasts

This commit is contained in:
nossr50
2019-05-16 11:34:26 -07:00
parent ed3ec3aa40
commit c8a32b8b38
4 changed files with 19 additions and 4 deletions

View File

@ -567,4 +567,6 @@ public class Config extends AutoUpdateConfigLoader {
public boolean getPVEEnabled(PrimarySkillType skill) { return config.getBoolean("Skills." + StringUtils.getCapitalized(skill.toString()) + ".Enabled_For_PVE", true); }
//public float getMasterVolume() { return (float) config.getDouble("Sounds.MasterVolume", 1.0); }
public boolean broadcastEventMessages() { return config.getBoolean("General.EventBroadcasts", true);}
}