summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-01-29 20:57:17 +0000
committerKHobbits <rob@khobbits.co.uk>2012-01-29 20:57:17 +0000
commitbc76e8736671d61940fd380c0b351cd3303bce97 (patch)
tree60d3e8f669ebce02dc093831e8e8de998ce7b11e
parent6a5fefb102bde081b3eb2f04f72a256c6f8ed293 (diff)
downloadEssentials-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.java2
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"));
}