mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
zombies and skeletons will burn now:
This commit is contained in:
parent
6dae45045b
commit
cf13bd4c43
6 changed files with 54 additions and 27 deletions
|
|
@ -17,6 +17,7 @@ class Chicken extends Animal{
|
|||
}
|
||||
|
||||
public function update(){
|
||||
parent::update();
|
||||
if($this->timeUntilEgg-- <= 0){
|
||||
$this->dropAnEgg();
|
||||
$this->timeUntilEgg = mt_rand(0,6000) + 6000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue