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 | bc76e8736671d61940fd380c0b351cd3303bce97 (patch) | |
tree | 60d3e8f669ebce02dc093831e8e8de998ce7b11e | |
parent | 6a5fefb102bde081b3eb2f04f72a256c6f8ed293 (diff) | |
download | Essentials-bc76e8736671d61940fd380c0b351cd3303bce97.tar Essentials-bc76e8736671d61940fd380c0b351cd3303bce97.tar.gz Essentials-bc76e8736671d61940fd380c0b351cd3303bce97.tar.lz Essentials-bc76e8736671d61940fd380c0b351cd3303bce97.tar.xz Essentials-bc76e8736671d61940fd380c0b351cd3303bce97.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")); } |