Tall Grass can now drop Carrots, potatoes, beetroot seeds

This commit is contained in:
Shoghi Cervantes 2013-11-26 12:45:27 +01:00
parent 2044269d86
commit 02150da862

View File

@ -47,6 +47,15 @@ class TallGrassBlock extends FlowableBlock{
if(mt_rand(1,10) === 1){//Seeds
$drops[] = array(WHEAT_SEEDS, 0, 1);
}
if(mt_rand(1,15) === 1){//Carrots
$drops[] = array(CARROT, 0, 1);
}
if(mt_rand(1,15) === 1){//Potatoes
$drops[] = array(POTATO, 0, 1);
}
if(mt_rand(1,15) === 1){//Beetroot Seeds
$drops[] = array(BEETROOT_SEEDS, 0, 1);
}
return $drops;
}