mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Entity: fixed onfire flag being set when setting fire ticks to zero, closes #3031
This commit is contained in:
@@ -1143,7 +1143,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
$this->setFireTicks($ticks);
|
$this->setFireTicks($ticks);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->setGenericFlag(self::DATA_FLAG_ONFIRE, true);
|
$this->setGenericFlag(self::DATA_FLAG_ONFIRE, $this->isOnFire());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user