mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 23:37:41 +01:00
BUGFIX: Player:GetId
returns elo instead of id
This commit is contained in:
parent
7f58674f68
commit
16ffacfd2f
@ -1,6 +1,7 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
## vx.y.z (Release: aa-bbb-cccc)
|
## vx.y.z (Release: aa-bbb-cccc)
|
||||||
|
* BUGFIX: `Player:GetId` returns elo instead of id
|
||||||
|
|
||||||
## v1.1.2 (Release: 21-jun-2019)
|
## v1.1.2 (Release: 21-jun-2019)
|
||||||
* ENHANCEMENT: Added update section to dist/readme.md
|
* ENHANCEMENT: Added update section to dist/readme.md
|
||||||
|
@ -135,7 +135,7 @@ class Player
|
|||||||
*/
|
*/
|
||||||
public function getId(string $type): string
|
public function getId(string $type): string
|
||||||
{
|
{
|
||||||
return $this->getElos()[$type];
|
return $this->getIds()[$type];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user