diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-17 19:46:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 19:46:50 +0200 |
commit | ff2c246de28689f086d1ea8f73be8c9d52c53ed0 (patch) | |
tree | 408c889237750e1247fdae47a9067665e318d981 /src/Protocol/Protocol_1_12.cpp | |
parent | SimplePlaceableItemHandler style (diff) | |
download | cuberite-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 'src/Protocol/Protocol_1_12.cpp')
-rw-r--r-- | src/Protocol/Protocol_1_12.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/Protocol_1_12.cpp b/src/Protocol/Protocol_1_12.cpp index 6998f73bf..0402cdaa3 100644 --- a/src/Protocol/Protocol_1_12.cpp +++ b/src/Protocol/Protocol_1_12.cpp @@ -339,7 +339,7 @@ void cProtocol_1_12::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) // Version: Json::Value Version; Version["name"] = "Cuberite 1.12"; - Version["protocol"] = cProtocolRecognizer::PROTO_VERSION_1_12; + Version["protocol"] = cMultiVersionProtocol::PROTO_VERSION_1_12; // Players: Json::Value Players; @@ -1217,7 +1217,7 @@ void cProtocol_1_12_1::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) // Version: Json::Value Version; Version["name"] = "Cuberite 1.12.1"; - Version["protocol"] = cProtocolRecognizer::PROTO_VERSION_1_12_1; + Version["protocol"] = cMultiVersionProtocol::PROTO_VERSION_1_12_1; // Players: Json::Value Players; @@ -1374,7 +1374,7 @@ void cProtocol_1_12_2::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) // Version: Json::Value Version; Version["name"] = "Cuberite 1.12.2"; - Version["protocol"] = cProtocolRecognizer::PROTO_VERSION_1_12_2; + Version["protocol"] = cMultiVersionProtocol::PROTO_VERSION_1_12_2; // Players: Json::Value Players; |