Remove redundant code from Entity->entityBaseTick()

this will never be called because onUpdate() checks this and returns.
This commit is contained in:
Dylan K. Taylor 2017-10-19 16:32:45 +01:00
parent 9fb93985d6
commit d9769360fe

View File

@ -1131,16 +1131,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
$this->justCreated = false;
if(!$this->isAlive()){
$this->removeAllEffects();
$this->despawnFromAll();
if(!$this->isPlayer){
$this->close();
}
return false;
}
if(count($this->changedDataProperties) > 0){
$this->sendData($this->hasSpawned, $this->changedDataProperties);
$this->changedDataProperties = [];