diff options
author | Ethan Jones <ethan@yasfu.net> | 2021-09-23 22:09:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 22:09:52 +0200 |
commit | 7b0872aeccc2be460e8af5cd4a14b0660a83c1ed (patch) | |
tree | f6164ea4070d6d49f0f3968a970258559d562752 /src/Protocol/Protocol_1_8.cpp | |
parent | Ignore dead movement (#5292) (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Protocol/Protocol_1_8.cpp | 6 |
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 |