mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Unnecessary method overrides
This commit is contained in:
parent
d3f5386812
commit
9eeaa9600f
1 changed files with 2 additions and 6 deletions
|
|
@ -36,12 +36,8 @@ class Chicken extends Animal{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function fall(){} //chickens have no fall dmg?
|
public function fall(){} //chickens have no fall dmg?
|
||||||
|
|
||||||
public function update($now){
|
public function dropAnEgg(){
|
||||||
parent::update($now);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function dropAnEgg(){
|
|
||||||
if($this->closed){
|
if($this->closed){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue