summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
index ead427b82..a111a610c 100644
--- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
+++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
@@ -417,7 +417,7 @@ public class EssentialsPlayerListener extends PlayerListener
user.warpTo(sign.getLine(1));
return;
}
- if (user.getGroup().equalsIgnoreCase(sign.getLine(2)))
+ if (user.inGroup(sign.getLine(2)))
{
user.teleportCooldown();
user.warpTo(sign.getLine(1));