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
commit7ffa11e4e10bd3f75f08cae2d3323b7575bde45b (patch)
tree92cba5fed8396cbf144a62eab98fd3b1936be289
parentad8b0ced39e204c2fdac823737d1b6339a71c3a9 (diff)
downloadEssentials-7ffa11e4e10bd3f75f08cae2d3323b7575bde45b.tar
Essentials-7ffa11e4e10bd3f75f08cae2d3323b7575bde45b.tar.gz
Essentials-7ffa11e4e10bd3f75f08cae2d3323b7575bde45b.tar.lz
Essentials-7ffa11e4e10bd3f75f08cae2d3323b7575bde45b.tar.xz
Essentials-7ffa11e4e10bd3f75f08cae2d3323b7575bde45b.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;