public function linkHookToPlayer(FishingHook $entity)
{
if ($entity->isAlive()) {
$this->setFishingHook($entity);
$pk = new EntityEventPacket();
$pk->eid = $this->getFishingHook()->getId();
$pk->event = EntityEventPacket::FISH_HOOK_POSITION;
$this->server->broadcastPacket($this->level->getPlayers(), $pk);
return true;
}
return false;
}