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
commit9f552f39b394756c1a2f74e45ccbf13fdba6db9f (patch)
treea59169ae2f8aaff8331b81e1a9c38ff5f54f206c
parent67e482898455464b590943db008b067f94cb4232 (diff)
downloadEssentials-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.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"));
}