Notice: A non well formed numeric value encountered

This commit is contained in:
lopar 2020-08-29 21:18:18 +03:00
parent d28d8b4e10
commit d689adc44e

View File

@ -394,12 +394,12 @@ class User
return $sign ?? null;
}
public function getHealth(): int
public function getHealth(): string
{
return $this->health.'/'.$this->maxHealth;
}
public function getMana(): int
public function getMana(): string
{
return $this->mana.'/'.$this->maxMana;
}