1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

The permission is essentials.protect.ownerinfo

This commit is contained in:
snowleo
2011-06-12 14:32:28 +02:00
parent 05b2e36e51
commit ba6ef52438

View File

@@ -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;