Fix wrong SetHealthPacket decode

This commit is contained in:
Dylan K. Taylor 2016-11-04 16:29:19 +00:00
parent 75cc99a003
commit 557257baed

View File

@ -30,7 +30,7 @@ class SetHealthPacket extends DataPacket{
public $health;
public function decode(){
$this->health = $this->getInt();
$this->health = $this->getVarInt();
}
public function encode(){