Fix boolean fail in /r offline checking.

This commit is contained in:
KHobbits 2012-01-29 20:57:17 +00:00
parent 6a5fefb102
commit bc76e87366

View File

@ -53,7 +53,7 @@ public class Commandr extends EssentialsCommand
final CommandSender target = replyTo.getReplyTo();
final String targetName = target instanceof Player ? ((Player)target).getDisplayName() : Console.NAME;
if (target == null || ((target instanceof Player) && ((Player)target).isOnline()))
if (target == null || ((target instanceof Player) && !((Player)target).isOnline()))
{
throw new Exception(_("foreverAlone"));
}