mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 11:45:30 +00:00
Entity: fixed not calculating surrounding blocks on entity creation
it's unclear if this was actually causing any bugs, but if it was it would likely manifest in the form of, for example, not burning in lava.
This commit is contained in:
parent
cd778661c2
commit
8d2e59222e
@ -461,7 +461,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
protected $lastDamageCause = null;
|
protected $lastDamageCause = null;
|
||||||
|
|
||||||
/** @var Block[]|null */
|
/** @var Block[]|null */
|
||||||
protected $blocksAround = [];
|
protected $blocksAround = null;
|
||||||
|
|
||||||
/** @var float|null */
|
/** @var float|null */
|
||||||
public $lastX = null;
|
public $lastX = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user