Added correct clay blocks

This commit is contained in:
Shoghi Cervantes 2013-05-25 19:20:37 +02:00
parent f224c26084
commit 5e1dddaba0
2 changed files with 7 additions and 2 deletions

View File

@ -134,5 +134,5 @@ class ChestBlock extends TransparentBlock{
return array(
array($this->id, 0, 1),
);
}
}
}

View File

@ -29,5 +29,10 @@ class ClayBlock extends SolidBlock{
public function __construct(){
parent::__construct(CLAY_BLOCK, 0, "Clay Block");
}
public function getDrops(Item $item, Player $player){
return array(
array(CLAY, 0, 4),
);
}
}