1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-01-17 21:39:26 +01:00
This commit is contained in:
Chris Ward 2013-10-18 17:23:27 +11:00
parent e07dc0f248
commit e0177e28b1

View File

@ -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
{