Entity: Remove unnecessary scheduleUpdate() call from initEntity()

this is already done by the constructor
This commit is contained in:
Dylan K. Taylor 2018-06-07 12:53:59 +01:00
parent 14914781fc
commit fb484087a8

View File

@ -876,8 +876,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
$this->setNameTagVisible($this->namedtag->getByte("CustomNameVisible", 1) !== 0); $this->setNameTagVisible($this->namedtag->getByte("CustomNameVisible", 1) !== 0);
} }
} }
$this->scheduleUpdate();
} }
protected function addAttributes() : void{ protected function addAttributes() : void{