Entity: remove dead field isPlayer

This commit is contained in:
Dylan K. Taylor 2018-02-27 17:01:28 +00:00
parent 3104a312b2
commit 2dd1878d57

View File

@ -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){