diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java index 0a5665b33..94528af6f 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java @@ -106,7 +106,7 @@ public class Commandnick extends EssentialsLoopCommand final String lowerNick = FormatUtil.stripFormat(nick.toLowerCase(Locale.ENGLISH)); for (final Player onlinePlayer : server.getOnlinePlayers()) { - if (target.getBase() == onlinePlayer) + if (target.getBase().getName().equals(onlinePlayer.getName())) { continue; }