Fixed block-picking cake giving the block instead of item

This commit is contained in:
Dylan K. Taylor 2018-09-20 11:31:48 +01:00
parent c52e1ea9f9
commit 9a5d51fd3d

View File

@ -35,6 +35,8 @@ class Cake extends Transparent implements FoodSource{
protected $id = self::CAKE_BLOCK;
protected $itemId = Item::CAKE;
public function __construct(int $meta = 0){
$this->meta = $meta;
}