readded useless loop, fixed falling

This commit is contained in:
GameHerobrine 2022-12-26 02:47:08 +03:00
parent 4f7ebf4471
commit 2cdf3ca8da
3 changed files with 49 additions and 24 deletions

View file

@ -7,8 +7,8 @@ abstract class Living extends Entity implements Damageable{
$this->ai = new EntityAI($this);
parent::__construct($level, $eid, $class, $type, $data);
$this->canBeAttacked = true;
$this->hasGravity = true;
$this->hasKnockback = true;
$this->hasGravity = true;
$this->hasKnockback = true;
}
public function update(){