tweaked drop

This commit is contained in:
GameHerobrine 2023-10-25 17:41:22 +03:00
parent 46ec8a5068
commit ef4b991374
6 changed files with 23 additions and 21 deletions

View file

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