Some blocks and entity fixes

This commit is contained in:
ArkQuark 2021-12-24 19:32:52 +03:00
parent 3ad75fc9b6
commit 406ab32504
5 changed files with 33 additions and 5 deletions

View file

@ -45,4 +45,11 @@ class DeadBushBlock extends FlowableBlock{
return false;
}
public function getDrops(Item $item, Player $player){
if($item->isShears()){
return array(
array(DEAD_BUSH, 0, 1),
);
}
}
}