Fix lava buckets on furnaces

This commit is contained in:
Shoghi Cervantes 2013-06-06 19:09:23 +02:00
parent 5e45567c1d
commit 67b0b97005
2 changed files with 5 additions and 2 deletions

View File

@ -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(){

View File

@ -45,7 +45,7 @@ class FuelData{
WORKBENCH => 15,
BOOKSHELF => 15,
CHEST => 15,
LAVA_BUCKET => 1000,
BUCKET => 1000,
);