mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 02:27:33 +01:00
Fix boolean fail in /r offline checking.
This commit is contained in:
parent
6a5fefb102
commit
bc76e87366
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user