Update to 1.8.8, properly declare permissions in plugin.yml

This commit is contained in:
Jikoo
2015-11-16 23:12:46 -05:00
parent c0f513177a
commit 20fb61705d
8 changed files with 11 additions and 35 deletions

View File

@@ -48,10 +48,6 @@ public class OpenInvPluginCommand implements CommandExecutor {
sender.sendMessage(ChatColor.RED + "You can't use this from the console.");
return true;
}
if (!OpenInv.hasPermission(sender, Permissions.PERM_OPENINV)) {
sender.sendMessage(ChatColor.RED + "You do not have permission to access player inventories");
return true;
}
if (args.length > 0 && args[0].equalsIgnoreCase("?")) {
OpenInv.ShowHelp((Player) sender);