mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
[trunk] Warp signs
PerWarpPermissions git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1096 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
fef58aeb18
commit
7bd9527e34
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ public class EssentialsPlayerListener extends PlayerListener
|
|||
}
|
||||
}
|
||||
if (user.isAuthorized("essentials.signs.warp.use") &&
|
||||
user.isAuthorized("essentials.warp." + sign.getLine(1))) {
|
||||
(!Essentials.getSettings().getPerWarpPermission() || user.isAuthorized("essentials.warp." + sign.getLine(1)))) {
|
||||
user.teleportCooldown();
|
||||
user.warpTo(sign.getLine(1));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue