This commit is contained in:
PEMapModder 2016-03-09 18:02:35 +08:00
parent 9a3929d8ad
commit dd22e4963f

View File

@ -26,7 +26,6 @@ use pocketmine\event\entity\EntityDamageByEntityEvent;
use pocketmine\event\entity\EntityDamageEvent;
use pocketmine\item\Item as ItemItem;
use pocketmine\math\Vector3;
use pocketmine\network\Network;
use pocketmine\network\protocol\AddEntityPacket;
use pocketmine\network\protocol\EntityEventPacket;
use pocketmine\Player;
@ -46,8 +45,8 @@ class Squid extends WaterAnimal implements Ageable{
private $switchDirectionTicker = 0;
public function initEntity(){
$this->setMaxHealth(5);
parent::initEntity();
$this->setMaxHealth(5);
}
public function getName(){