summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ward <chris@chrisgward.com>2013-10-18 17:23:27 +1100
committerChris Ward <chris@chrisgward.com>2013-10-18 17:23:27 +1100
commit979b5b1a372071991e320d3670d08629c73ef104 (patch)
tree6dc58db587073a27cdb9c9795754c5ee5df72c89
parentc53f21d9d10be32d26d042399f142c6833f0a167 (diff)
downloadEssentials-979b5b1a372071991e320d3670d08629c73ef104.tar
Essentials-979b5b1a372071991e320d3670d08629c73ef104.tar.gz
Essentials-979b5b1a372071991e320d3670d08629c73ef104.tar.lz
Essentials-979b5b1a372071991e320d3670d08629c73ef104.tar.xz
Essentials-979b5b1a372071991e320d3670d08629c73ef104.zip
Fix /r
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandr.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandr.java b/Essentials/src/com/earth2me/essentials/commands/Commandr.java
index 12ff95202..046024c7c 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandr.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandr.java
@@ -66,7 +66,7 @@ public class Commandr extends EssentialsCommand
{
if (target.isPlayer())
{
- ess.getUser(target.isPlayer()).setReplyTo(sender);
+ (target.isPlayer() ? ess.getUser(target.getPlayer()) : ess.getUser(Console.NAME)).setReplyTo(sender);
}
else
{