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
commit298e6773731971a8b73096020d00d8c20a61686b (patch)
tree70ce17889e4c4ff8c9f7078a65c59e5a3fcc3fa2
parent64e089e15bb764d4d2a56c6979a398a26b99fc69 (diff)
downloadEssentials-298e6773731971a8b73096020d00d8c20a61686b.tar
Essentials-298e6773731971a8b73096020d00d8c20a61686b.tar.gz
Essentials-298e6773731971a8b73096020d00d8c20a61686b.tar.lz
Essentials-298e6773731971a8b73096020d00d8c20a61686b.tar.xz
Essentials-298e6773731971a8b73096020d00d8c20a61686b.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
{