From 298e6773731971a8b73096020d00d8c20a61686b Mon Sep 17 00:00:00 2001 From: Chris Ward Date: Fri, 18 Oct 2013 17:23:27 +1100 Subject: Fix /r --- Essentials/src/com/earth2me/essentials/commands/Commandr.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3