summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-16 07:05:46 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-16 07:05:46 +0000
commitaaae6264cba288b02e15d10176c4c51569bb9dd9 (patch)
tree31714b1f19673c248b8ab3a7d3708046181f50d9
parent0b95a2f41720ac60f7ff9d01d4255030316bcc0e (diff)
downloadEssentials-aaae6264cba288b02e15d10176c4c51569bb9dd9.tar
Essentials-aaae6264cba288b02e15d10176c4c51569bb9dd9.tar.gz
Essentials-aaae6264cba288b02e15d10176c4c51569bb9dd9.tar.lz
Essentials-aaae6264cba288b02e15d10176c4c51569bb9dd9.tar.xz
Essentials-aaae6264cba288b02e15d10176c4c51569bb9dd9.zip
[trunk] Group inheritance for warp signs
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1214 e251c2fe-e539-e718-e476-b85c1f46cddb
-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));