Fixed raw porkchop being inedible

This commit is contained in:
Dylan K. Taylor 2017-12-14 09:09:47 +00:00
parent f5ebfc3418
commit 4bd4d42b82

View File

@ -23,10 +23,17 @@ declare(strict_types=1);
namespace pocketmine\item;
class RawPorkchop extends Item{
class RawPorkchop extends Food{
public function __construct(int $meta = 0){
parent::__construct(self::RAW_PORKCHOP, $meta, "Raw Porkchop");
}
public function getFoodRestore() : int{
return 3;
}
public function getSaturationRestore() : float{
return 0.6;
}
}