mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-13 02:18:34 +00:00
stuff seth missed
admin -> staff
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user