From 1cc19ae1e8b79586b5b2019545bf99a519096517 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 9 Jun 2013 14:59:55 +0200 Subject: [PATCH] Fire can be broken --- src/material/block/misc/Fire.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/material/block/misc/Fire.php b/src/material/block/misc/Fire.php index 7deaaad9..de59fd45 100644 --- a/src/material/block/misc/Fire.php +++ b/src/material/block/misc/Fire.php @@ -29,10 +29,13 @@ class FireBlock extends FlowableBlock{ public function __construct($meta = 0){ parent::__construct(FIRE, $meta, "Fire"); $this->isReplaceable = true; - $this->breakable = false; $this->isFullBlock = true; } + public function getDrops(Item $item, Player $player){ + return array(); + } + public function onUpdate($type){ if($type === BLOCK_UPDATE_NORMAL){ for($s = 0; $s <= 5; ++$s){