From 582cce3c1797494c5751b6e2dcdfa28042d766fe Mon Sep 17 00:00:00 2001 From: lopar Date: Wed, 12 May 2021 22:04:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D1=80=D0=B0=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BA=20=D0=B7=D0=B0=D1=89=D0=B8=D1=89=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=BE=D0=B9=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=BE=D0=B9=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20?= =?UTF-8?q?=D0=B3=D0=B5=D1=82=D1=82=D0=B5=D1=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/Battles/Magic/CureInjury.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Battles/Magic/CureInjury.php b/classes/Battles/Magic/CureInjury.php index 100b69f..a1677b7 100644 --- a/classes/Battles/Magic/CureInjury.php +++ b/classes/Battles/Magic/CureInjury.php @@ -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)); } } \ No newline at end of file