Fix Groups for warp signs

This commit is contained in:
snowleo 2011-07-01 01:32:49 +02:00
parent bd7a50ad07
commit aef2ca3e5d

View File

@ -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