diff options
author | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-12-21 22:25:59 +0100 |
---|---|---|
committer | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-12-21 22:25:59 +0100 |
commit | f33b44d7774564f0705d9879436282d6eb101c16 (patch) | |
tree | d646c97a94aecf1210e6f45e31c341be47976a4c | |
parent | Merge pull request #2786 from SafwatHalaby/revert (diff) | |
parent | cTeam:GetName returning wrong name (diff) | |
download | cuberite-f33b44d7774564f0705d9879436282d6eb101c16.tar cuberite-f33b44d7774564f0705d9879436282d6eb101c16.tar.gz cuberite-f33b44d7774564f0705d9879436282d6eb101c16.tar.bz2 cuberite-f33b44d7774564f0705d9879436282d6eb101c16.tar.lz cuberite-f33b44d7774564f0705d9879436282d6eb101c16.tar.xz cuberite-f33b44d7774564f0705d9879436282d6eb101c16.tar.zst cuberite-f33b44d7774564f0705d9879436282d6eb101c16.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Scoreboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Scoreboard.h b/src/Scoreboard.h index ab10b20aa..092cfd8ed 100644 --- a/src/Scoreboard.h +++ b/src/Scoreboard.h @@ -159,7 +159,7 @@ public: bool CanSeeFriendlyInvisible(void) const { return m_CanSeeFriendlyInvisible; } const AString & GetDisplayName(void) const { return m_DisplayName; } - const AString & GetName(void) const { return m_DisplayName; } + const AString & GetName(void) const { return m_Name; } const AString & GetPrefix(void) const { return m_Prefix; } const AString & GetSuffix(void) const { return m_Suffix; } |