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

@@ -47,7 +47,7 @@ public class OpenEnderPluginCommand implements CommandExecutor
return true;
}
if (!sender.hasPermission(Permissions.PERM_ENDERCHEST))
if (!OpenInv.hasPermission(sender, Permissions.PERM_ENDERCHEST))
{
sender.sendMessage(ChatColor.RED + "You do not have permission to access player enderchest");
return true;
@@ -108,6 +108,12 @@ public class OpenEnderPluginCommand implements CommandExecutor
}
}
if (target != sender && !OpenInv.hasPermission(sender, Permissions.PERM_ENDERCHEST_ALL))
{
sender.sendMessage(ChatColor.RED + "You do not have permission to access other player's enderchest");
return true;
}
// Record the target
history = target.getName();
openEnderHistory.put(player, history);