From 5a228fbc16c0b89e14b5fbf9940230f261c76c13 Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Wed, 14 Jun 2017 11:22:51 +0200 Subject: Added support for protocol 1.12 (#3757) --- src/Protocol/ProtocolRecognizer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Protocol/ProtocolRecognizer.h') diff --git a/src/Protocol/ProtocolRecognizer.h b/src/Protocol/ProtocolRecognizer.h index 921efcea7..1a638fb21 100644 --- a/src/Protocol/ProtocolRecognizer.h +++ b/src/Protocol/ProtocolRecognizer.h @@ -18,9 +18,9 @@ // Adjust these if a new protocol is added or an old one is removed: -#define MCS_CLIENT_VERSIONS "1.8.x, 1.9.x, 1.10.x, 1.11.x" -#define MCS_PROTOCOL_VERSIONS "47, 107, 108, 109, 110, 210, 315, 316" -#define MCS_LATEST_PROTOCOL_VERSION 316 +#define MCS_CLIENT_VERSIONS "1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12" +#define MCS_PROTOCOL_VERSIONS "47, 107, 108, 109, 110, 210, 315, 316, 335" +#define MCS_LATEST_PROTOCOL_VERSION 335 @@ -42,6 +42,7 @@ public: PROTO_VERSION_1_10_0 = 210, PROTO_VERSION_1_11_0 = 315, PROTO_VERSION_1_11_1 = 316, + PROTO_VERSION_1_12 = 335, } ; cProtocolRecognizer(cClientHandle * a_Client); -- cgit v1.2.3