summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-17 11:07:42 +0200
committermadmaxoft <github@xoft.cz>2014-09-17 11:07:42 +0200
commit82317709f8645642069c1ddf3428a0341302fcd4 (patch)
tree01ad749dbee855238a9083617241afaa7d935462 /src/Protocol
parentInitial BungeeCord support. (diff)
downloadcuberite-82317709f8645642069c1ddf3428a0341302fcd4.tar
cuberite-82317709f8645642069c1ddf3428a0341302fcd4.tar.gz
cuberite-82317709f8645642069c1ddf3428a0341302fcd4.tar.bz2
cuberite-82317709f8645642069c1ddf3428a0341302fcd4.tar.lz
cuberite-82317709f8645642069c1ddf3428a0341302fcd4.tar.xz
cuberite-82317709f8645642069c1ddf3428a0341302fcd4.tar.zst
cuberite-82317709f8645642069c1ddf3428a0341302fcd4.zip
Diffstat (limited to 'src/Protocol')
-rw-r--r--src/Protocol/Protocol17x.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 9ebb6b4b0..4f71b53b0 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -106,7 +106,11 @@ cProtocol172::cProtocol172(cClientHandle * a_Client, const AString & a_ServerAdd
AStringVector Params;
if (SplitZeroTerminatedStrings(a_ServerAddress, Params) && (Params.size() == 4))
{
+ LOGD("Player at %s connected via BungeeCord", Params[1].c_str());
m_ServerAddress = Params[0];
+ m_Client->SetIPString(Params[1]);
+ m_Client->SetUUID(cMojangAPI::MakeUUIDShort(Params[2]));
+ m_Client->SetProperties(Params[3]);
}
// Create the comm log file, if so requested: