Minecraft-Console-Client/MinecraftClient/Commands/Respawn.cs

20 lines
563 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MinecraftClient.Commands
{
public class Respawn : Command
{
public override string CMDName { get { return "respawn"; } }
public override string CMDDesc { get { return "respawn: Use this to respawn if you are dead."; } }
public override string Run(McClient handler, string command, Dictionary<string, object> localVars)
{
handler.SendRespawnPacket();
return "You have respawned.";
}
}
}