mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed TallGrass::getDrops()
This commit is contained in:
@ -73,7 +73,9 @@ class TallGrass extends Flowable{
|
||||
|
||||
public function getDrops(Item $item){
|
||||
if(mt_rand(0, 15) === 0){
|
||||
return [Item::WHEAT_SEEDS, 0, 1];
|
||||
return [
|
||||
[Item::WHEAT_SEEDS, 0, 1]
|
||||
];
|
||||
}
|
||||
|
||||
return [];
|
||||
|
Reference in New Issue
Block a user