mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Added respawn ability in /reco
- Added a notification message when you die stating you can respawn with /reco - Added a respawn packet sent before disconnecting when using /reco Note: Why a respawn in /reco and not a /respawn command? Once respawned using the console on 1.6.2 server, the player stays invisible for other players unless he (or the other player) disconnects & reconnect so it's necessary to reconnect after respawning.
This commit is contained in:
parent
d6f4b97ffa
commit
d1770ebb02
2 changed files with 14 additions and 1 deletions
|
|
@ -194,6 +194,7 @@ namespace MinecraftClient
|
|||
else if (text == "/reco" || text == "/reconnect")
|
||||
{
|
||||
ConsoleIO.WriteLine("You have left the server.");
|
||||
handler.SendRespawnPacket();
|
||||
Program.Restart();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue