summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.cpp
diff options
context:
space:
mode:
authorEthan Jones <ethan@yasfu.net>2021-09-23 22:09:52 +0200
committerGitHub <noreply@github.com>2021-09-23 22:09:52 +0200
commit7b0872aeccc2be460e8af5cd4a14b0660a83c1ed (patch)
treef6164ea4070d6d49f0f3968a970258559d562752 /src/Protocol/Protocol_1_8.cpp
parentIgnore dead movement (#5292) (diff)
downloadcuberite-7b0872aeccc2be460e8af5cd4a14b0660a83c1ed.tar
cuberite-7b0872aeccc2be460e8af5cd4a14b0660a83c1ed.tar.gz
cuberite-7b0872aeccc2be460e8af5cd4a14b0660a83c1ed.tar.bz2
cuberite-7b0872aeccc2be460e8af5cd4a14b0660a83c1ed.tar.lz
cuberite-7b0872aeccc2be460e8af5cd4a14b0660a83c1ed.tar.xz
cuberite-7b0872aeccc2be460e8af5cd4a14b0660a83c1ed.tar.zst
cuberite-7b0872aeccc2be460e8af5cd4a14b0660a83c1ed.zip
Diffstat (limited to 'src/Protocol/Protocol_1_8.cpp')
-rw-r--r--src/Protocol/Protocol_1_8.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp
index e7e110296..c34e95117 100644
--- a/src/Protocol/Protocol_1_8.cpp
+++ b/src/Protocol/Protocol_1_8.cpp
@@ -123,20 +123,18 @@ cProtocol_1_8_0::cProtocol_1_8_0(cClientHandle * a_Client, const AString & a_Ser
LOGD("Player at %s connected via BungeeCord", Params[1].c_str());
- m_Client->SetIPString(Params[1]);
-
cUUID UUID;
UUID.FromString(Params[2]);
- m_Client->SetUUID(UUID);
Json::Value root;
if (!JsonUtils::ParseString(Params[3], root))
{
LOGERROR("Unable to parse player properties: '%s'", Params[3]);
+ m_Client->ProxyInit(Params[1], UUID);
}
else
{
- m_Client->SetProperties(root);
+ m_Client->ProxyInit(Params[1], UUID, root);
}
}
else