From fb484087a8119660c249b47a71c0ddba051a1074 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 7 Jun 2018 12:53:59 +0100 Subject: [PATCH] Entity: Remove unnecessary scheduleUpdate() call from initEntity() this is already done by the constructor --- src/pocketmine/entity/Entity.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 606c6de200..442f7ae0ec 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -876,8 +876,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ $this->setNameTagVisible($this->namedtag->getByte("CustomNameVisible", 1) !== 0); } } - - $this->scheduleUpdate(); } protected function addAttributes() : void{