Minecraft-Console-Client/MinecraftClient/Commands/Respawn.cs
ORelio edb989a04f More explicit repawn command description
Issue reported by TorchRJ_
2014-08-27 17:24:02 +02:00

19 lines
528 B
C#

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(McTcpClient handler, string command)
{
handler.SendRespawnPacket();
return "You have respawned.";
}
}
}