4 bugs were fixed

This commit is contained in:
GameHerobrine 2022-11-13 18:52:48 +03:00
parent 107afb434b
commit 828599184c
5 changed files with 9 additions and 5 deletions

View file

@ -53,7 +53,7 @@ class Sheep extends Animal{
}
public function getDrops(){
return $this->isBaby() ? parent::getDrops() : [
return ($this->isBaby() || $this->isSheared()) ? parent::getDrops() : [
[WOOL, $this->getColor() & 0x0F, 1]
];
}