Removed "You are dead" ingame message

- Death detector didn't work anyway, stats packet is not sent on death
- Could sometime crash the app due to a "VarInt too big" issue
- Note: "health upade" packet is also not sent by the server
This commit is contained in:
ORelio 2014-01-12 15:36:41 +01:00
parent baaf37f28b
commit f6de2e4aee

View file

@ -132,16 +132,6 @@ namespace MinecraftClient
message = ChatParser.ParseText(message);
printstring(message, false);
for (int i = 0; i < bots.Count; i++) { bots[i].GetText(message); } break;
case 0x37:
int stats_count = readNextVarInt();
for (int i = 0; i < stats_count; i++)
{
string stat_name = readNextString();
readNextVarInt(); //stat value
if (stat_name == "stat.deaths")
printstring("You are dead. Type /reco to respawn & reconnect.", false);
}
break;
case 0x3A:
int autocomplete_count = readNextVarInt();
string tab_list = "";