JSON Styling will be handled in the Locale instead of the config

This commit is contained in:
nossr50
2019-01-26 08:27:58 -08:00
parent d84d487435
commit 6ac1c4fa2c
3 changed files with 4 additions and 87 deletions

View File

@ -775,7 +775,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
* Used to color our details header in our JSON Hover Object tooltips
* @return the ChatColor for this element
*/
public ChatColor getJSONStatHoverDetailsColor()
/*public ChatColor getJSONStatHoverDetailsColor()
{
String keyLocation = "Style.JSON.Hover.Details.Header.Color";
return getChatColorFromKey(keyLocation);
@ -820,7 +820,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader {
public ChatColor getJSONActionBarColor(NotificationType notificationType)
{
return getChatColor(config.getString("Style.JSON.Notification."+notificationType.toString()+".Color"));
}
}*/
private ChatColor getChatColorFromKey(String keyLocation) {
String colorName = config.getString(keyLocation);