mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Rename command Status to Health
This commit is contained in:
parent
975e6d4daa
commit
bf86259b4b
5 changed files with 8 additions and 8 deletions
|
|
@ -725,10 +725,10 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
break;
|
||||
case PacketIncomingType.UpdateHealth:
|
||||
float health = dataTypes.ReadNextFloat(packetData);
|
||||
int Food = dataTypes.ReadNextVarInt(packetData);
|
||||
int food = dataTypes.ReadNextVarInt(packetData);
|
||||
// Food Saturation, not useful
|
||||
dataTypes.ReadNextFloat(packetData);
|
||||
handler.OnUpdateHealth(health, Food);
|
||||
handler.OnUpdateHealth(health, food);
|
||||
break;
|
||||
default:
|
||||
return false; //Ignored packet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue