mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-28 03:57:48 +01:00
To make things consistent:
permissions: essentials.signs.break.signname and essentials.signs.signname.break
This commit is contained in:
parent
7d112a957c
commit
0eee5acac7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user