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
commite0177e28b1cdd5f37065cad636eee51ed6c761f3 (patch)
tree549fd7cd606639e74a688d377a372daca1ab0b63
parente07dc0f248e63e3dccc38e31d544af53a8021ee7 (diff)
downloadEssentials-e0177e28b1cdd5f37065cad636eee51ed6c761f3.tar
Essentials-e0177e28b1cdd5f37065cad636eee51ed6c761f3.tar.gz
Essentials-e0177e28b1cdd5f37065cad636eee51ed6c761f3.tar.lz
Essentials-e0177e28b1cdd5f37065cad636eee51ed6c761f3.tar.xz
Essentials-e0177e28b1cdd5f37065cad636eee51ed6c761f3.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
{