Fixed TallGrass::getDrops()

This commit is contained in:
PEMapModder 2016-02-11 16:51:27 +08:00
parent d538a254ee
commit cfca0a8726

View File

@ -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 [];