mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
tweaked drop
This commit is contained in:
parent
46ec8a5068
commit
ef4b991374
6 changed files with 23 additions and 21 deletions
|
|
@ -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 [];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue