mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +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:
@ -461,7 +461,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
||||
protected $lastDamageCause = null;
|
||||
|
||||
/** @var Block[]|null */
|
||||
protected $blocksAround = [];
|
||||
protected $blocksAround = null;
|
||||
|
||||
/** @var float|null */
|
||||
public $lastX = null;
|
||||
|
Reference in New Issue
Block a user