small tweaks to knockback and to motion update system. might cause some bugs with arrows(were buggy before anyway), falling blocks, tnt and other non-static objects

This commit is contained in:
GameHerobrine 2022-10-17 17:53:17 +03:00
parent d83161f3a8
commit 024e9ed504
3 changed files with 38 additions and 21 deletions

View file

@ -24,7 +24,7 @@ abstract class Animal extends Creature implements Ageable, Breedable{
$this->close();
return false;
}
parent::environmentUpdate();
return parent::environmentUpdate();
}
public function getDrops(){