summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-16 14:46:36 +0100
committerMattes D <github@xoft.cz>2014-02-16 14:46:36 +0100
commitec37e534654a541d3e20a433c6e1fe91636a1096 (patch)
tree89020c391a543ff6d7f8e2189d21749009fc11d8 /src/Protocol/Protocol17x.cpp
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
parentAdd Locale to ClientHandle (diff)
downloadcuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar
cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.gz
cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.bz2
cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.lz
cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.xz
cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.zst
cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 1dfa5ec90..f7d13774d 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -1598,6 +1598,8 @@ void cProtocol172::HandlePacketClientSettings(cByteBuffer & a_ByteBuffer)
HANDLE_READ(a_ByteBuffer, ReadByte, Byte, ChatColors);
HANDLE_READ(a_ByteBuffer, ReadByte, Byte, Difficulty);
HANDLE_READ(a_ByteBuffer, ReadByte, Byte, ShowCape);
+
+ m_Client->SetLocale(Locale);
// TODO: handle in m_Client
}