summaryrefslogtreecommitdiffstats
path: root/src/Protocol/MojangAPI.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2021-08-23 10:35:03 +0200
committerAlexander Harkness <me@bearbin.net>2021-08-23 10:35:03 +0200
commit4b8952e438da8e57d6442a0b7451dac8060f154b (patch)
tree2dfa6aef09599c9e7b768a135abc5fc17c9bf174 /src/Protocol/MojangAPI.cpp
parentFix typo in message send when getting achievements (#5282) (diff)
downloadcuberite-4b8952e438da8e57d6442a0b7451dac8060f154b.tar
cuberite-4b8952e438da8e57d6442a0b7451dac8060f154b.tar.gz
cuberite-4b8952e438da8e57d6442a0b7451dac8060f154b.tar.bz2
cuberite-4b8952e438da8e57d6442a0b7451dac8060f154b.tar.lz
cuberite-4b8952e438da8e57d6442a0b7451dac8060f154b.tar.xz
cuberite-4b8952e438da8e57d6442a0b7451dac8060f154b.tar.zst
cuberite-4b8952e438da8e57d6442a0b7451dac8060f154b.zip
Diffstat (limited to 'src/Protocol/MojangAPI.cpp')
-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 244052a36..6b8999216 100644
--- a/src/Protocol/MojangAPI.cpp
+++ b/src/Protocol/MojangAPI.cpp
@@ -783,7 +783,7 @@ void cMojangAPI::QueryUUIDToProfile(const cUUID & a_UUID)
{
// Create the request address:
AString Address = m_UUIDToProfileAddress;
- ReplaceString(Address, "%UUID%", a_UUID.ToShortString());
+ ReplaceURL(Address, "%UUID%", a_UUID.ToShortString());
// Create the HTTP request:
AString Request;