mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
some CS
This commit is contained in:
parent
437576a981
commit
a4b7fbf2df
10 changed files with 24 additions and 24 deletions
|
|
@ -65,7 +65,7 @@ abstract class Animal extends Creature implements Ageable, Breedable{
|
|||
}
|
||||
if($this->isInLove() && !isset($this->level->entitiesInLove[$this->eid])){
|
||||
$this->level->entitiesInLove[$this->eid] = true;
|
||||
}else if(!$this->isInLove() && isset($this->level->entitiesInLove[$this->eid])){
|
||||
}elseif(!$this->isInLove() && isset($this->level->entitiesInLove[$this->eid])){
|
||||
unset($this->level->entitiesInLove[$this->eid]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue