summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-10-05 05:34:33 +0100
committerKHobbits <rob@khobbits.co.uk>2013-10-05 05:34:33 +0100
commitcfa367dfc30a91aace2199fe6bd24f38829e6265 (patch)
treef78bd04621fdbee5f171f8c7aa252e375a5cf8eb
parente1ff3542aec0de802f6a848c8a1dbe944dd65df2 (diff)
downloadEssentials-cfa367dfc30a91aace2199fe6bd24f38829e6265.tar
Essentials-cfa367dfc30a91aace2199fe6bd24f38829e6265.tar.gz
Essentials-cfa367dfc30a91aace2199fe6bd24f38829e6265.tar.lz
Essentials-cfa367dfc30a91aace2199fe6bd24f38829e6265.tar.xz
Essentials-cfa367dfc30a91aace2199fe6bd24f38829e6265.zip
Allow recolouring own name.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandnick.java2
1 files changed, 1 insertions, 1 deletions
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;