mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
The permission is essentials.protect.ownerinfo
This commit is contained in:
parent
772bf4c7d0
commit
bfa8b26661
@ -46,7 +46,7 @@ public class EssentialsProtectPlayerListener extends PlayerListener
|
||||
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();
|
||||
boolean first = true;
|
||||
|
Loading…
Reference in New Issue
Block a user