fixed packet spam, removed item merging, various fixes

This commit is contained in:
GameHerobrine 2024-02-14 04:22:20 +03:00
parent dee744e709
commit 908cff1317
7 changed files with 46 additions and 24 deletions

View file

@ -24,7 +24,7 @@ class Chicken extends Animal{
public function updateEntityMovement(){
parent::updateEntityMovement();
if($this->onGround && $this->speedY < 0) $this->speedY *= 0.6;
if(!$this->onGround && $this->speedY < 0) $this->speedY *= 0.6;
if($this->timeUntilEgg-- <= 0 && !$this->isBaby()){
$this->dropAnEgg();