mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-06 18:35:57 +00:00
update warp sign permission check
This commit is contained in:
parent
4bf0d3ab24
commit
895f6269fc
|
@ -53,7 +53,7 @@ public class SignWarp extends EssentialsSign
|
||||||
if ((!group.isEmpty()
|
if ((!group.isEmpty()
|
||||||
&& ("§2Everyone".equals(group)
|
&& ("§2Everyone".equals(group)
|
||||||
|| player.inGroup(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);
|
final Trade charge = getTrade(sign, 3, ess);
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in a new issue