summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthen0rTh <nth.orx@gmail.com>2015-12-21 20:25:33 +0100
committerthen0rTh <nth.orx@gmail.com>2015-12-21 20:25:33 +0100
commit4d264b8b334d668c98a66312c7b660093bcf8bcd (patch)
treed646c97a94aecf1210e6f45e31c341be47976a4c
parentMerge pull request #2786 from SafwatHalaby/revert (diff)
downloadcuberite-4d264b8b334d668c98a66312c7b660093bcf8bcd.tar
cuberite-4d264b8b334d668c98a66312c7b660093bcf8bcd.tar.gz
cuberite-4d264b8b334d668c98a66312c7b660093bcf8bcd.tar.bz2
cuberite-4d264b8b334d668c98a66312c7b660093bcf8bcd.tar.lz
cuberite-4d264b8b334d668c98a66312c7b660093bcf8bcd.tar.xz
cuberite-4d264b8b334d668c98a66312c7b660093bcf8bcd.tar.zst
cuberite-4d264b8b334d668c98a66312c7b660093bcf8bcd.zip
-rw-r--r--src/Scoreboard.h2
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; }