diff options
author | Chris Ward <chris@chrisgward.com> | 2013-10-18 17:23:27 +1100 |
---|---|---|
committer | Chris Ward <chris@chrisgward.com> | 2013-10-18 17:23:27 +1100 |
commit | 979b5b1a372071991e320d3670d08629c73ef104 (patch) | |
tree | 6dc58db587073a27cdb9c9795754c5ee5df72c89 | |
parent | c53f21d9d10be32d26d042399f142c6833f0a167 (diff) | |
download | Essentials-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.java | 2 |
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 { |