mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Furnace: fixed deactivation after being reloaded from disk (regression from PM3)
closes #4430
This commit is contained in:
parent
ace8841d5d
commit
84170ad3e1
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user