fixes
This commit is contained in:
@@ -216,6 +216,11 @@ class User
|
||||
return $this->experience;
|
||||
}
|
||||
|
||||
public function addExperience(int $amount): void
|
||||
{
|
||||
$this->experience += max($amount, 0);
|
||||
}
|
||||
|
||||
public function getBattle(): int
|
||||
{
|
||||
return $this->battle;
|
||||
|
||||
Reference in New Issue
Block a user