mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-06-05 22:09:44 +00:00
[trunk] Group inheritance for warp signs
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1214 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
0b95a2f417
commit
aaae6264cb
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue