dev #41

Merged
lopar merged 29 commits from dev into master 2021-05-25 15:28:14 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 582cce3c17 - Show all commits

View File

@ -52,7 +52,7 @@ class CureInjury extends Magic
} else {
$this->target = new User($this->target);
}
$this->login = $this->target->login;
$this->login = $this->target->getLogin();
return ($this->isVisible($caster, $this->target) && $this->isNotDead($caster) && $this->enoughMana($caster) && $this->isNotInBattle($caster));
}
}