mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-20 09:36:19 +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