To make things consistent:

permissions: essentials.signs.break.signname and essentials.signs.signname.break
This commit is contained in:
snowleo 2011-06-12 21:58:09 +02:00
parent 7d112a957c
commit 0eee5acac7

View File

@ -86,7 +86,8 @@ public class EssentialsSign
final User user = ess.getUser(event.getPlayer());
try
{
return user.isAuthorized("essentials.signs.break." + signName.toLowerCase())
return (user.isAuthorized("essentials.signs." + signName.toLowerCase() + ".break")
|| user.isAuthorized("essentials.signs.break." + signName.toLowerCase()))
&& onSignBreak(sign, user, getUsername(user), ess);
}
catch (SignException ex)