Minecraft-Console-Client/MinecraftClient/Commands/Respawn.cs
BruceChen 1d52d1eadd
Fix all warnings & Trim (#2226)
* Fix AutoFishing crash
* Fix all warnings
* Remove DotNetZip.
* Fix the usage of HttpClient.
2022-10-02 18:31:08 +08:00

17 lines
568 B
C#

using System.Collections.Generic;
namespace MinecraftClient.Commands
{
public class Respawn : Command
{
public override string CmdName { get { return "respawn"; } }
public override string CmdUsage { get { return "respawn"; } }
public override string CmdDesc { get { return "cmd.respawn.desc"; } }
public override string Run(McClient handler, string command, Dictionary<string, object>? localVars)
{
handler.SendRespawnPacket();
return Translations.Get("cmd.respawn.done");
}
}
}