summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ChunkDataSerializer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-20 09:55:11 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-20 10:28:02 +0200
commit07f3f7ec30ed0e751f614720b2f189f8d9f442cc (patch)
treedcde6ffe381e219a22756ea914037302840c9f76 /src/Protocol/ChunkDataSerializer.cpp
parentRemove GetProtocolVersion unneeded comments (diff)
downloadcuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.gz
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.bz2
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.lz
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.xz
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.zst
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/ChunkDataSerializer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/ChunkDataSerializer.cpp b/src/Protocol/ChunkDataSerializer.cpp
index bf8798d6f..6577aaedd 100644
--- a/src/Protocol/ChunkDataSerializer.cpp
+++ b/src/Protocol/ChunkDataSerializer.cpp
@@ -93,13 +93,13 @@ void cChunkDataSerializer::SendToClients(const std::unordered_set<cClientHandle
}
case cProtocol::Version::Version_1_13:
{
- Serialize393And401<&Palette_1_13::FromBlock>(Entry.second); // This version didn't last very long xD
+ Serialize393<&Palette_1_13::FromBlock>(Entry.second); // This version didn't last very long xD
continue;
}
case cProtocol::Version::Version_1_13_1:
case cProtocol::Version::Version_1_13_2:
{
- Serialize393And401<&Palette_1_13_1::FromBlock>(Entry.second);
+ Serialize393<&Palette_1_13_1::FromBlock>(Entry.second);
continue;
}
}
@@ -391,7 +391,7 @@ void cChunkDataSerializer::Serialize110(const std::vector<cClientHandle *> & a_S
template <auto Palette>
-void cChunkDataSerializer::Serialize393And401(const std::vector<cClientHandle *> & a_SendTo)
+void cChunkDataSerializer::Serialize393(const std::vector<cClientHandle *> & a_SendTo)
{
// This function returns the fully compressed packet (including packet size), not the raw packet!