mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-04 11:35:39 +00:00
It's late lol
derp
This commit is contained in:
parent
05f94920d9
commit
582acdb176
1 changed files with 1 additions and 1 deletions
|
@ -14,9 +14,9 @@ public class Command_cmdspy extends FreedomCommand
|
|||
@Override
|
||||
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
||||
{
|
||||
msg("CommandSpy " + (admin.getCommandSpy() ? "enabled." : "disabled."));
|
||||
Admin admin = plugin.al.getAdmin(playerSender);
|
||||
admin.setCommandSpy(!admin.getCommandSpy());
|
||||
msg("CommandSpy " + (admin.getCommandSpy() ? "enabled." : "disabled."));
|
||||
plugin.al.save(admin);
|
||||
plugin.al.updateTables();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue