mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed packet spam, removed item merging, various fixes
This commit is contained in:
parent
dee744e709
commit
908cff1317
7 changed files with 46 additions and 24 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue