From 5e1dddaba0f6fe8dc5e177f8e1793b1236675efa Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 25 May 2013 19:20:37 +0200 Subject: [PATCH] Added correct clay blocks --- src/material/block/solid/Chest.php | 2 +- src/material/block/solid/Clay.php | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/material/block/solid/Chest.php b/src/material/block/solid/Chest.php index 15e3bfe6..1e9d9a7a 100644 --- a/src/material/block/solid/Chest.php +++ b/src/material/block/solid/Chest.php @@ -134,5 +134,5 @@ class ChestBlock extends TransparentBlock{ return array( array($this->id, 0, 1), ); - } + } } \ No newline at end of file diff --git a/src/material/block/solid/Clay.php b/src/material/block/solid/Clay.php index 1da48a8e..1e8a336b 100644 --- a/src/material/block/solid/Clay.php +++ b/src/material/block/solid/Clay.php @@ -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), + ); + } } \ No newline at end of file