mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-30 17:59:53 +02:00
update warp sign permission check
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user