mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +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 */
|
||||
protected $timings;
|
||||
/** @var bool */
|
||||
protected $isPlayer = false;
|
||||
|
||||
/** @var bool */
|
||||
protected $constructed = false;
|
||||
@ -470,8 +468,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
||||
$this->constructed = true;
|
||||
$this->timings = Timings::getEntityTimings($this);
|
||||
|
||||
$this->isPlayer = $this instanceof Player;
|
||||
|
||||
$this->temporalVector = new Vector3();
|
||||
|
||||
if($this->eyeHeight === null){
|
||||
|
Loading…
x
Reference in New Issue
Block a user