mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
readded useless loop, fixed falling
This commit is contained in:
parent
4f7ebf4471
commit
2cdf3ca8da
3 changed files with 49 additions and 24 deletions
|
|
@ -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(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue