separated tnt class from all other ones

This commit is contained in:
GameHerobrine 2022-07-12 00:57:34 +03:00
parent 002f7f0946
commit 218dd4ffa4
10 changed files with 78 additions and 60 deletions

View file

@ -11,7 +11,7 @@ class Sheep extends Animal{
}
public function getDrops(){
return $this->isBaby() ? array() :
return $this->isBaby() ? parent::getDrops() :
array(
array(WOOL, $this->data["Color"] & 0x0F, 1),
);