1
0

cProtocolRecognizer goes on a diet (#4770)

- Removed inheritance from cProtocol
This commit is contained in:
Tiger Wang
2020-07-17 18:46:50 +01:00
committed by GitHub
parent d8406c7c58
commit ff2c246de2
10 changed files with 247 additions and 1164 deletions

View File

@@ -231,7 +231,7 @@ void cProtocol_1_13::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer)
// Version:
Json::Value Version;
Version["name"] = "Cuberite 1.13";
Version["protocol"] = cProtocolRecognizer::PROTO_VERSION_1_13;
Version["protocol"] = cMultiVersionProtocol::PROTO_VERSION_1_13;
// Players:
Json::Value Players;