2014-06-18 13:32:17 +02:00
|
|
|
|
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"; } }
|
2014-08-27 17:24:02 +02:00
|
|
|
|
public override string CMDDesc { get { return "respawn: Use this to respawn if you are dead."; } }
|
2014-06-18 13:32:17 +02:00
|
|
|
|
|
2020-06-20 15:01:16 +02:00
|
|
|
|
public override string Run(McClient handler, string command, Dictionary<string, object> localVars)
|
2014-06-18 13:32:17 +02:00
|
|
|
|
{
|
|
|
|
|
|
handler.SendRespawnPacket();
|
|
|
|
|
|
return "You have respawned.";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|