summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.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/Protocol18x.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 '')
-rw-r--r--src/Protocol/Protocol18x.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp
index acdb48cf7..f37409744 100644
--- a/src/Protocol/Protocol18x.cpp
+++ b/src/Protocol/Protocol18x.cpp
@@ -2160,6 +2160,7 @@ void cProtocol180::HandlePacketClientSettings(cByteBuffer & a_ByteBuffer)
HANDLE_READ(a_ByteBuffer, ReadChar, char, SkinFlags);
m_Client->SetLocale(Locale);
+ m_Client->SetViewDistance(ViewDistance);
// TODO: Handle other values
}