Revert "Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development"

This reverts commit 4407e9e6ec, reversing
changes made to e4c9ea656e.
This commit is contained in:
2020-08-15 17:41:23 -05:00
parent 4407e9e6ec
commit da80f1b69e
186 changed files with 1828 additions and 1275 deletions

View File

@ -40,16 +40,16 @@ public class Command_whohas extends FreedomCommand
for (final Player player : server.getOnlinePlayers())
{
if (!plugin.sl.isStaff(sender) && plugin.sl.isVanished(player))
if (!plugin.al.isAdmin(sender) && plugin.al.isVanished(player))
{
continue;
}
if (player.getInventory().contains(material))
{
players.add(player.getName());
if (plugin.sl.isStaff(sender))
if (plugin.al.isAdmin(sender))
{
if (doClear && !plugin.sl.isStaff(player))
if (doClear && !plugin.al.isAdmin(player))
{
player.getInventory().remove(material);
}
@ -87,7 +87,7 @@ public class Command_whohas extends FreedomCommand
return getAllMaterials();
}
if (args.length == 2 && plugin.sl.isStaff(sender))
if (args.length == 2 && plugin.al.isAdmin(sender))
{
return Arrays.asList("clear");
}