mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-26 13:09:05 +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 $health;
|
||||||
|
|
||||||
public function decode(){
|
public function decode(){
|
||||||
$this->health = $this->getInt();
|
$this->health = $this->getVarInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function encode(){
|
public function encode(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user