Fix for respawning + /respawn command

- Player is automatically respawned when logging in
- Added /respawn command (MC 1.7 does not fail to respawn)
- Cleaned MCC command handling code, /exec is now /script
This commit is contained in:
ORelio 2014-01-12 13:38:52 +01:00
parent adba89794e
commit afff1ef89e
2 changed files with 25 additions and 19 deletions

View file

@ -549,6 +549,9 @@ namespace MinecraftClient
if (message == null)
message = "";
message.Replace("\"", "\\\"");
message = "\"" + message + "\"";
try
{
byte[] packet_id = getVarInt(0x40);