mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Furnace: fixed deactivation after being reloaded from disk (regression from PM3)
closes #4430
This commit is contained in:
@ -82,6 +82,10 @@ abstract class Furnace extends Spawnable implements Container, Nameable{
|
||||
|
||||
$this->loadName($nbt);
|
||||
$this->loadItems($nbt);
|
||||
|
||||
if($this->remainingFuelTime > 0){
|
||||
$this->position->getWorld()->scheduleDelayedBlockUpdate($this->position, 1);
|
||||
}
|
||||
}
|
||||
|
||||
protected function writeSaveData(CompoundTag $nbt) : void{
|
||||
|
Reference in New Issue
Block a user