chickens should not drop stone now

This commit is contained in:
GameHerobrine 2022-12-20 20:47:34 +03:00
parent ddc7bea48b
commit 026daf485b

View file

@ -34,8 +34,8 @@ class Chicken extends Animal{
public function getDrops(){
return $this->isBaby() ? parent::getDrops() : [
[FEATHER, 0, mt_rand(0,2)],
[[$this->fire > 0 ? COOKED_CHICKEN : RAW_CHICKEN], 0, 1]
[$this->fire > 0 ? COOKED_CHICKEN : RAW_CHICKEN, 0, 1]
];
}
}
}