Fix double messages in targeted commands

This commit is contained in:
Chris Ward 2013-10-18 17:43:37 +11:00 committed by KHobbits
parent 2615468a08
commit 50a9b5718c
6 changed files with 6 additions and 6 deletions

View file

@ -66,7 +66,7 @@ public class Commandr extends EssentialsCommand
{
if (target.isPlayer())
{
(target.isPlayer() ? ess.getUser(target.getPlayer()) : ess.getUser(Console.NAME)).setReplyTo(sender);
ess.getUser(target.getPlayer()).setReplyTo(sender);
}
else
{