Fix op colours, which KHobbits broke!

This commit is contained in:
md_5 2012-03-04 15:43:00 +11:00
parent e6181928e8
commit d9a8453995

View file

@ -262,19 +262,19 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
nickname.append(ess.getSettings().getNicknamePrefix()).append(nick);
}
if (isOp())
{
try
{
nickname.insert(0, ess.getSettings().getOperatorColor().toString());
nickname.append("§f");
}
catch (Exception e)
{
}
}
if (addprefixsuffix && ess.getSettings().addPrefixSuffix())
{
if (isOp())
{
try
{
nickname.insert(0, ess.getSettings().getOperatorColor().toString());
}
catch (Exception e)
{
}
}
if (!ess.getSettings().disablePrefix())
{
final String prefix = ess.getPermissionsHandler().getPrefix(base).replace('&', '§');