stuff seth missed

admin -> staff
This commit is contained in:
speedxx
2020-08-15 12:35:48 -04:00
parent 3f4d34d172
commit 78b73b3b63
36 changed files with 148 additions and 159 deletions

View File

@ -12,10 +12,10 @@ import org.bukkit.inventory.ItemStack;
@CommandParameters(description = "Look into another player's inventory, or optionally take items out.", usage = "/<command> <player> [offhand | armor]", aliases = "inv,insee")
public class Command_invsee extends FreedomCommand
{
@Override
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
{
if (args.length < 1)
{
return false;
@ -37,9 +37,8 @@ public class Command_invsee extends FreedomCommand
if (plugin.sl.isStaff(player) && !plugin.sl.isStaff(playerSender))
{
msg("You cannot spy on administrators.");
msg("You cannot spy on staff members.");
return true;
}
Inventory inv;
@ -109,5 +108,4 @@ public class Command_invsee extends FreedomCommand
}
return true;
}
}
}