mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Added encode and decode methods for more packets
This commit is contained in:
@ -32,7 +32,7 @@ class HurtArmorPacket extends DataPacket{
|
||||
public $health;
|
||||
|
||||
public function decode(){
|
||||
|
||||
$this->health = $this->getVarInt();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user