Added 1.7.2 support, added old files.

This commit is contained in:
lishid
2013-12-06 02:31:14 -05:00
parent 4597db93bd
commit 56752df92e
37 changed files with 2420 additions and 57 deletions

View File

@@ -24,6 +24,7 @@ import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.lishid.openinv.OpenInv;
import com.lishid.openinv.Permissions;
public class SearchInvPluginCommand implements CommandExecutor
@@ -37,7 +38,7 @@ public class SearchInvPluginCommand implements CommandExecutor
{
if (sender instanceof Player)
{
if (!sender.hasPermission(Permissions.PERM_SEARCH))
if (!OpenInv.hasPermission(sender, Permissions.PERM_SEARCH))
{
sender.sendMessage(ChatColor.RED + "You do not have permission to access player inventories");
return true;