This commit is contained in:
KHobbits 2013-10-18 00:04:17 +01:00
parent be31b1695d
commit 64e089e15b
12 changed files with 15 additions and 15 deletions

View file

@ -64,9 +64,9 @@ public class Commandr extends EssentialsCommand
replyTo.setReplyTo(target);
if (target != sender)
{
if (target instanceof Player)
if (target.isPlayer())
{
ess.getUser((Player)target).setReplyTo(sender);
ess.getUser(target.isPlayer()).setReplyTo(sender);
}
else
{