mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Fixed squid health attribute errors
This commit is contained in:
@ -43,8 +43,8 @@ class Squid extends WaterAnimal implements Ageable{
|
||||
private $switchDirectionTicker = 0;
|
||||
|
||||
public function initEntity(){
|
||||
$this->setMaxHealth(10);
|
||||
parent::initEntity();
|
||||
$this->setMaxHealth(5);
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
|
Reference in New Issue
Block a user