mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
* Fix AutoFishing crash * Fix all warnings * Remove DotNetZip. * Fix the usage of HttpClient.
22 lines
635 B
C#
22 lines
635 B
C#
using System.Collections.Generic;
|
|
|
|
namespace MinecraftClient.Commands
|
|
{
|
|
public class Exit : Command
|
|
{
|
|
public override string CmdName { get { return "exit"; } }
|
|
public override string CmdUsage { get { return "exit"; } }
|
|
public override string CmdDesc { get { return "cmd.exit.desc"; } }
|
|
|
|
public override string Run(McClient? handler, string command, Dictionary<string, object>? localVars)
|
|
{
|
|
Program.Exit();
|
|
return "";
|
|
}
|
|
|
|
public override IEnumerable<string> GetCMDAliases()
|
|
{
|
|
return new string[] { "quit" };
|
|
}
|
|
}
|
|
}
|