From 026daf485bd4f96fe1afd81c765403cff8ef3806 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Tue, 20 Dec 2022 20:47:34 +0300 Subject: [PATCH] chickens should not drop stone now --- src/entity/animal/Chicken.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entity/animal/Chicken.php b/src/entity/animal/Chicken.php index c52ebe40..e01ef6c7 100644 --- a/src/entity/animal/Chicken.php +++ b/src/entity/animal/Chicken.php @@ -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] ]; } -} \ No newline at end of file +}