mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fall damage
This commit is contained in:
parent
586f49994a
commit
f03f376535
2 changed files with 6 additions and 3 deletions
|
|
@ -463,9 +463,9 @@ class CustomPacketHandler{
|
|||
break;
|
||||
case MC_SET_HEALTH:
|
||||
if($this->c === false){
|
||||
$this->data["health"] = ord($this->get(1));
|
||||
$this->data["health"] = Utils::readByte($this->get(1));
|
||||
}else{
|
||||
$this->raw .= chr($this->data["health"]);
|
||||
$this->raw .= Utils::writeByte($this->data["health"]);
|
||||
}
|
||||
break;
|
||||
case MC_ANIMATE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue