diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-01-29 20:57:17 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-01-29 20:57:17 +0000 |
commit | 9f552f39b394756c1a2f74e45ccbf13fdba6db9f (patch) | |
tree | a59169ae2f8aaff8331b81e1a9c38ff5f54f206c | |
parent | 67e482898455464b590943db008b067f94cb4232 (diff) | |
download | Essentials-9f552f39b394756c1a2f74e45ccbf13fdba6db9f.tar Essentials-9f552f39b394756c1a2f74e45ccbf13fdba6db9f.tar.gz Essentials-9f552f39b394756c1a2f74e45ccbf13fdba6db9f.tar.lz Essentials-9f552f39b394756c1a2f74e45ccbf13fdba6db9f.tar.xz Essentials-9f552f39b394756c1a2f74e45ccbf13fdba6db9f.zip |
Fix boolean fail in /r offline checking.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandr.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandr.java b/Essentials/src/com/earth2me/essentials/commands/Commandr.java index 7d8ee481d..fe2a4e5b1 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandr.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandr.java @@ -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")); } |