Seed placement

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-04 18:41:23 +01:00
parent 65280d85d1
commit a718294a08
6 changed files with 101 additions and 25 deletions

View file

@ -29,5 +29,9 @@ class MelonBlock extends TransparentBlock{
public function __construct(){
parent::__construct(MELON_BLOCK, 0, "Melon Block");
}
public function getDrops(Item $item, Player $player){
return array(
array(MELON_SLICE, 0, mt_rand(3, 7)),
);
}
}