mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-22 11:24:02 +00:00
Entity: Remove unnecessary scheduleUpdate() call from initEntity()
this is already done by the constructor
This commit is contained in:
parent
14914781fc
commit
fb484087a8
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user