You can now turn off sound effects used by mcMMO

This commit is contained in:
nossr50
2019-01-21 05:23:48 -08:00
parent 11461cc220
commit b42b4cadbe
3 changed files with 29 additions and 4 deletions

View File

@ -61,4 +61,10 @@ public class SoundConfig extends AutoUpdateConfigLoader {
String key = "Sounds."+soundType.toString()+".Pitch";
return (float) config.getDouble(key);
}
public boolean getIsEnabled(SoundType soundType)
{
String key = "Sounds."+soundType.toString()+".Enabled";
return config.getBoolean(key, true);
}
}