mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-25 08:52:40 +01:00
update warp sign permission check
This commit is contained in:
parent
480d3f36ad
commit
e91bdf7bd5
@ -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…
x
Reference in New Issue
Block a user