From cfa367dfc30a91aace2199fe6bd24f38829e6265 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sat, 5 Oct 2013 05:34:33 +0100 Subject: Allow recolouring own name. --- Essentials/src/com/earth2me/essentials/commands/Commandnick.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java index c003dcbdd..eb5f60ecc 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java @@ -117,7 +117,7 @@ public class Commandnick extends EssentialsLoopCommand return true; } } - if (ess.getUser(lowerNick) != null) { + if (ess.getUser(lowerNick) != null && ess.getUser(lowerNick) != target) { return true; } return false; -- cgit v1.2.3