fix of small error in drop

This commit is contained in:
GameHerobrine 2022-11-13 19:56:32 +03:00
parent 3892d697f8
commit 6ee84717f8
2 changed files with 4 additions and 5 deletions

View file

@ -104,9 +104,8 @@ abstract class Animal extends Creature implements Ageable, Breedable{
public function getDrops(){
if($this->isBaby()){
return array(
array(AIR, 0, 0),
);
return [];
}
return parent::getDrops();
}
}