BUGFIX: `Player:GetId` returns elo instead of id

This commit is contained in:
Jeroen De Meerleer 2019-09-25 12:31:39 +02:00
parent 7f58674f68
commit 16ffacfd2f
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# CHANGELOG
## vx.y.z (Release: aa-bbb-cccc)
* BUGFIX: `Player:GetId` returns elo instead of id
## v1.1.2 (Release: 21-jun-2019)
* ENHANCEMENT: Added update section to dist/readme.md

View File

@ -135,7 +135,7 @@ class Player
*/
public function getId(string $type): string
{
return $this->getElos()[$type];
return $this->getIds()[$type];
}
/**