Changed name of "coreprotect.lookup.item" permission to "coreprotect.lookup.inventory"
This commit is contained in:
parent
490b5eb0ee
commit
aeba1918f3
3 changed files with 10 additions and 5 deletions
|
|
@ -227,7 +227,7 @@ public class LookupCommand {
|
|||
Chat.sendMessage(player, Color.DARK_AQUA + "CoreProtect " + Color.WHITE + "- " + Phrase.build(Phrase.NO_PERMISSION));
|
||||
return;
|
||||
}
|
||||
if (argAction.contains(11) && !player.hasPermission("coreprotect.lookup.item")) {
|
||||
if (argAction.contains(11) && (!player.hasPermission("coreprotect.lookup.inventory") || !player.hasPermission("coreprotect.lookup.item"))) {
|
||||
Chat.sendMessage(player, Color.DARK_AQUA + "CoreProtect " + Color.WHITE + "- " + Phrase.build(Phrase.NO_PERMISSION));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue