mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 20:12:54 +00:00
The permission is essentials.protect.ownerinfo
This commit is contained in:
parent
772bf4c7d0
commit
bfa8b26661
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class EssentialsProtectPlayerListener extends PlayerListener
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user.isAuthorized("essentials.protect.admin") && event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
if (user.isAuthorized("essentials.protect.ownerinfo") && event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
||||||
{
|
{
|
||||||
final StringBuilder stringBuilder = new StringBuilder();
|
final StringBuilder stringBuilder = new StringBuilder();
|
||||||
boolean first = true;
|
boolean first = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue