mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-19 09:56:52 +00:00
Fix Groups for warp signs
This commit is contained in:
parent
bd7a50ad07
commit
aef2ca3e5d
|
@ -51,7 +51,7 @@ public class SignWarp extends EssentialsSign
|
|||
if ((!group.isEmpty()
|
||||
&& ("§2Everyone".equals(group)
|
||||
|| player.inGroup(group)))
|
||||
|| (!ess.getSettings().getPerWarpPermission() || player.isAuthorized("essentials.warp." + warpName)))
|
||||
|| (group.isEmpty() && (!ess.getSettings().getPerWarpPermission() || player.isAuthorized("essentials.warp." + warpName))))
|
||||
{
|
||||
final Trade charge = getTrade(sign, 3, ess);
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue