From 02150da86223b38e7effd134c264cc38e37cb4c7 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 26 Nov 2013 12:45:27 +0100 Subject: [PATCH] Tall Grass can now drop Carrots, potatoes, beetroot seeds --- src/material/block/plant/TallGrass.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/material/block/plant/TallGrass.php b/src/material/block/plant/TallGrass.php index d79a45985..3585b9e39 100644 --- a/src/material/block/plant/TallGrass.php +++ b/src/material/block/plant/TallGrass.php @@ -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; }