mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Fix lava buckets on furnaces
This commit is contained in:
@@ -107,8 +107,11 @@ class Item{
|
||||
if(!isset(FuelData::$duration[$this->id])){
|
||||
return false;
|
||||
}
|
||||
if($this->id !== BUCKET or $this->meta === 10){
|
||||
return FuelData::$duration[$this->id];
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
final public function getSmeltItem(){
|
||||
if(!isset(SmeltingData::$product[$this->id])){
|
||||
|
@@ -45,7 +45,7 @@ class FuelData{
|
||||
WORKBENCH => 15,
|
||||
BOOKSHELF => 15,
|
||||
CHEST => 15,
|
||||
LAVA_BUCKET => 1000,
|
||||
BUCKET => 1000,
|
||||
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user