mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-20 15:11:25 +01: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
@ -417,7 +417,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
|||||||
user.warpTo(sign.getLine(1));
|
user.warpTo(sign.getLine(1));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (user.getGroup().equalsIgnoreCase(sign.getLine(2)))
|
if (user.inGroup(sign.getLine(2)))
|
||||||
{
|
{
|
||||||
user.teleportCooldown();
|
user.teleportCooldown();
|
||||||
user.warpTo(sign.getLine(1));
|
user.warpTo(sign.getLine(1));
|
||||||
|
Loading…
Reference in New Issue
Block a user