Fixed a bucket of lava disappearing when used in a furnace (#3973)

fixes #2385
This commit is contained in:
Govdim
2020-12-18 02:57:34 +03:00
committed by GitHub
parent c95e283507
commit dd2c3db285
3 changed files with 19 additions and 2 deletions

View File

@ -152,8 +152,7 @@ class Furnace extends Spawnable implements InventoryHolder, Container, Nameable{
}
if($this->burnTime > 0 and $ev->isBurning()){
$fuel->pop();
$this->inventory->setFuel($fuel);
$this->inventory->setFuel($fuel->getFuelResidue());
}
}