summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-17 19:46:50 +0200
committerGitHub <noreply@github.com>2020-07-17 19:46:50 +0200
commitff2c246de28689f086d1ea8f73be8c9d52c53ed0 (patch)
tree408c889237750e1247fdae47a9067665e318d981 /src/ClientHandle.h
parentSimplePlaceableItemHandler style (diff)
downloadcuberite-ff2c246de28689f086d1ea8f73be8c9d52c53ed0.tar
cuberite-ff2c246de28689f086d1ea8f73be8c9d52c53ed0.tar.gz
cuberite-ff2c246de28689f086d1ea8f73be8c9d52c53ed0.tar.bz2
cuberite-ff2c246de28689f086d1ea8f73be8c9d52c53ed0.tar.lz
cuberite-ff2c246de28689f086d1ea8f73be8c9d52c53ed0.tar.xz
cuberite-ff2c246de28689f086d1ea8f73be8c9d52c53ed0.tar.zst
cuberite-ff2c246de28689f086d1ea8f73be8c9d52c53ed0.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 1d988b137..dd5d54097 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -17,6 +17,7 @@
#include "ChunkSender.h"
#include "EffectID.h"
#include "Protocol/ForgeHandshake.h"
+#include "Protocol/ProtocolRecognizer.h"
#include "UUID.h"
@@ -437,7 +438,7 @@ private:
std::unordered_set<cChunkCoords, cChunkCoordsHash> m_ChunksToSend; // Chunks that need to be sent to the player (queued because they weren't generated yet or there's not enough time to send them)
cChunkCoordsList m_SentChunks; // Chunks that are currently sent to the client
- std::unique_ptr<cProtocol> m_Protocol;
+ cMultiVersionProtocol m_Protocol;
/** Protects m_IncomingData against multithreaded access. */
cCriticalSection m_CSIncomingData;