summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-10-02 23:50:41 +0200
committerHowaner <franzi.moos@googlemail.com>2014-10-02 23:50:41 +0200
commit382e014ebcd44a72788bea8cdcec7f64861b063f (patch)
tree15cbd3a7730666619af341b147106e055c9395c7 /src/Protocol/Protocol17x.cpp
parentMerge pull request #1493 from Masy98/blocks (diff)
downloadcuberite-382e014ebcd44a72788bea8cdcec7f64861b063f.tar
cuberite-382e014ebcd44a72788bea8cdcec7f64861b063f.tar.gz
cuberite-382e014ebcd44a72788bea8cdcec7f64861b063f.tar.bz2
cuberite-382e014ebcd44a72788bea8cdcec7f64861b063f.tar.lz
cuberite-382e014ebcd44a72788bea8cdcec7f64861b063f.tar.xz
cuberite-382e014ebcd44a72788bea8cdcec7f64861b063f.tar.zst
cuberite-382e014ebcd44a72788bea8cdcec7f64861b063f.zip
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r--src/Protocol/Protocol17x.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index a7abd240f..494413f63 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -1901,6 +1901,7 @@ void cProtocol172::HandlePacketClientSettings(cByteBuffer & a_ByteBuffer)
HANDLE_READ(a_ByteBuffer, ReadByte, Byte, ShowCape);
m_Client->SetLocale(Locale);
+ m_Client->SetViewDistance(ViewDistance);
// TODO: Do anything with the other values.
}