From 35119befd9999c54a24fbcb5799262af7e5c69b8 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 26 Nov 2013 12:46:30 +0100 Subject: [PATCH] Tall Grass now drops Melon and Pumpkin seeds with a probability of 1/15 --- src/material/block/plant/TallGrass.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/material/block/plant/TallGrass.php b/src/material/block/plant/TallGrass.php index 3585b9e39..4cece2fcd 100644 --- a/src/material/block/plant/TallGrass.php +++ b/src/material/block/plant/TallGrass.php @@ -56,6 +56,12 @@ class TallGrassBlock extends FlowableBlock{ if(mt_rand(1,15) === 1){//Beetroot Seeds $drops[] = array(BEETROOT_SEEDS, 0, 1); } + if(mt_rand(1,20) === 1){//Melon Seeds + $drops[] = array(MELON_SEEDS, 0, 1); + } + if(mt_rand(1,15) === 1){//Melon Seeds + $drops[] = array(PUMPKIN_SEEDS, 0, 1); + } return $drops; }