1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 09:35:26 +02:00

[trunk] if ops name is empty handling

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1367 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo
2011-05-08 00:06:28 +00:00
parent 7cb6e969af
commit e87a506af9

View File

@@ -156,7 +156,7 @@ public class Settings implements IConf
if (colorName == null)
return ChatColor.RED;
if("none".equalsIgnoreCase(colorName))
if("none".equalsIgnoreCase(colorName) || colorName.isEmpty())
return ChatColor.WHITE;
try
@@ -485,4 +485,5 @@ public class Settings implements IConf
{
return config.getBoolean("permission-based-item-spawn", false);
}
}