mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-05 02:19:52 +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());
|
final User user = ess.getUser(event.getPlayer());
|
||||||
try
|
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);
|
&& onSignBreak(sign, user, getUsername(user), ess);
|
||||||
}
|
}
|
||||||
catch (SignException ex)
|
catch (SignException ex)
|
||||||
|
Loading…
Reference in New Issue
Block a user