From 67b0b9700567171122f984ae80bdcdaac7e1ab73 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 6 Jun 2013 19:09:23 +0200 Subject: [PATCH] Fix lava buckets on furnaces --- src/material/Item.php | 5 ++++- src/recipes/FuelData.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/material/Item.php b/src/material/Item.php index 492e03428..3c5b6eb35 100644 --- a/src/material/Item.php +++ b/src/material/Item.php @@ -107,7 +107,10 @@ class Item{ if(!isset(FuelData::$duration[$this->id])){ return false; } - return FuelData::$duration[$this->id]; + if($this->id !== BUCKET or $this->meta === 10){ + return FuelData::$duration[$this->id]; + } + return false; } final public function getSmeltItem(){ diff --git a/src/recipes/FuelData.php b/src/recipes/FuelData.php index 8b403d63e..045aaf01c 100644 --- a/src/recipes/FuelData.php +++ b/src/recipes/FuelData.php @@ -45,7 +45,7 @@ class FuelData{ WORKBENCH => 15, BOOKSHELF => 15, CHEST => 15, - LAVA_BUCKET => 1000, + BUCKET => 1000, );