1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-11 09:05:01 +02:00

Only show nickname update message in debug mode.

This commit is contained in:
KHobbits
2012-03-18 03:29:49 +00:00
parent 445121d6e8
commit dce77f0b72

View File

@@ -326,7 +326,9 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
}
catch (IllegalArgumentException e)
{
logger.log(Level.INFO, "Playerlist for " + name + " was not updated. Use a shorter displayname prefix.");
if (ess.getSettings().isDebug()) {
logger.log(Level.INFO, "Playerlist for " + name + " was not updated. Name clashed with another online player.");
}
}
}