summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-04 23:35:32 +0200
committermadmaxoft <github@xoft.cz>2014-08-04 23:35:50 +0200
commit9113b45673bc9b0202ce821b8db2dbe6f4b425b9 (patch)
tree81c4c9ef9aa5b5339213b50babafcb2a1f0c3d56 /src
parentMerge pull request #1287 from Howaner/Bow (diff)
downloadcuberite-9113b45673bc9b0202ce821b8db2dbe6f4b425b9.tar
cuberite-9113b45673bc9b0202ce821b8db2dbe6f4b425b9.tar.gz
cuberite-9113b45673bc9b0202ce821b8db2dbe6f4b425b9.tar.bz2
cuberite-9113b45673bc9b0202ce821b8db2dbe6f4b425b9.tar.lz
cuberite-9113b45673bc9b0202ce821b8db2dbe6f4b425b9.tar.xz
cuberite-9113b45673bc9b0202ce821b8db2dbe6f4b425b9.tar.zst
cuberite-9113b45673bc9b0202ce821b8db2dbe6f4b425b9.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/MojangAPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/MojangAPI.cpp b/src/Protocol/MojangAPI.cpp
index a7aea5490..823ff5469 100644
--- a/src/Protocol/MojangAPI.cpp
+++ b/src/Protocol/MojangAPI.cpp
@@ -208,7 +208,7 @@ AString cMojangAPI::GetUUIDFromPlayerName(const AString & a_PlayerName, bool a_U
// No UUID found
return "";
}
- return itr->second.m_PlayerName;
+ return itr->second.m_UUID;
}