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