mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Fix wrong SetHealthPacket decode
This commit is contained in:
parent
75cc99a003
commit
557257baed
@ -30,7 +30,7 @@ class SetHealthPacket extends DataPacket{
|
||||
public $health;
|
||||
|
||||
public function decode(){
|
||||
$this->health = $this->getInt();
|
||||
$this->health = $this->getVarInt();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user