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 | 298e6773731971a8b73096020d00d8c20a61686b (patch) | |
tree | 70ce17889e4c4ff8c9f7078a65c59e5a3fcc3fa2 | |
parent | 64e089e15bb764d4d2a56c6979a398a26b99fc69 (diff) | |
download | Essentials-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.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 { |