mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-10-07 01:04:21 +00:00
update warp sign permission check
This commit is contained in:
parent
69cd17a1b1
commit
cd7be1bb86
|
@ -53,7 +53,7 @@ public class SignWarp extends EssentialsSign
|
|||
if ((!group.isEmpty()
|
||||
&& ("§2Everyone".equals(group)
|
||||
|| player.inGroup(group)))
|
||||
|| (group.isEmpty() && (!ess.getSettings().getPerWarpPermission() || player.isAuthorized("essentials.warp." + warpName))))
|
||||
|| (group.isEmpty() && (!ess.getSettings().getPerWarpPermission() || player.isAuthorized("essentials.warps." + warpName))))
|
||||
{
|
||||
final Trade charge = getTrade(sign, 3, ess);
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue