mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
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:
parent
baaf37f28b
commit
f6de2e4aee
1 changed files with 0 additions and 10 deletions
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue