mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fix of small error in drop
This commit is contained in:
parent
3892d697f8
commit
6ee84717f8
2 changed files with 4 additions and 5 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue