mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 12:48:32 +00:00
Entity: remove dead field isPlayer
This commit is contained in:
parent
3104a312b2
commit
2dd1878d57
@ -459,8 +459,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
|
|
||||||
/** @var TimingsHandler */
|
/** @var TimingsHandler */
|
||||||
protected $timings;
|
protected $timings;
|
||||||
/** @var bool */
|
|
||||||
protected $isPlayer = false;
|
|
||||||
|
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
protected $constructed = false;
|
protected $constructed = false;
|
||||||
@ -470,8 +468,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
|||||||
$this->constructed = true;
|
$this->constructed = true;
|
||||||
$this->timings = Timings::getEntityTimings($this);
|
$this->timings = Timings::getEntityTimings($this);
|
||||||
|
|
||||||
$this->isPlayer = $this instanceof Player;
|
|
||||||
|
|
||||||
$this->temporalVector = new Vector3();
|
$this->temporalVector = new Vector3();
|
||||||
|
|
||||||
if($this->eyeHeight === null){
|
if($this->eyeHeight === null){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user