mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Fixed TallGrass::getDrops()
This commit is contained in:
parent
d538a254ee
commit
cfca0a8726
@ -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 [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user