summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-08 22:09:39 +0100
committermadmaxoft <github@xoft.cz>2013-11-08 22:09:39 +0100
commitefbc4a9b783f5ce734525e15f9787de1226ab5d3 (patch)
tree9299c0905de88006916b61c1ca9e0f3fa3bdca9f
parentMobSpawner: Added skeleton and wolf conditions. (diff)
downloadcuberite-efbc4a9b783f5ce734525e15f9787de1226ab5d3.tar
cuberite-efbc4a9b783f5ce734525e15f9787de1226ab5d3.tar.gz
cuberite-efbc4a9b783f5ce734525e15f9787de1226ab5d3.tar.bz2
cuberite-efbc4a9b783f5ce734525e15f9787de1226ab5d3.tar.lz
cuberite-efbc4a9b783f5ce734525e15f9787de1226ab5d3.tar.xz
cuberite-efbc4a9b783f5ce734525e15f9787de1226ab5d3.tar.zst
cuberite-efbc4a9b783f5ce734525e15f9787de1226ab5d3.zip
-rw-r--r--source/Protocol/ProtocolRecognizer.cpp1
-rw-r--r--source/Protocol/ProtocolRecognizer.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/source/Protocol/ProtocolRecognizer.cpp b/source/Protocol/ProtocolRecognizer.cpp
index 6d0d71524..9234785b5 100644
--- a/source/Protocol/ProtocolRecognizer.cpp
+++ b/source/Protocol/ProtocolRecognizer.cpp
@@ -58,6 +58,7 @@ AString cProtocolRecognizer::GetVersionTextFromInt(int a_ProtocolVersion)
case PROTO_VERSION_1_6_2: return "1.6.2";
case PROTO_VERSION_1_6_3: return "1.6.3";
case PROTO_VERSION_1_6_4: return "1.6.4";
+ case PROTO_VERSION_1_7_2: return "1.7.2";
}
ASSERT(!"Unknown protocol version");
return Printf("Unknown protocol (%d)", a_ProtocolVersion);
diff --git a/source/Protocol/ProtocolRecognizer.h b/source/Protocol/ProtocolRecognizer.h
index 2f217833a..c085e2cd8 100644
--- a/source/Protocol/ProtocolRecognizer.h
+++ b/source/Protocol/ProtocolRecognizer.h
@@ -18,8 +18,8 @@
// Adjust these if a new protocol is added or an old one is removed:
-#define MCS_CLIENT_VERSIONS "1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.3, 1.6.4"
-#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49, 51, 60, 61, 73, 74, 77, 78"
+#define MCS_CLIENT_VERSIONS "1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7.2"
+#define MCS_PROTOCOL_VERSIONS "29, 39, 47, 49, 51, 60, 61, 73, 74, 77, 78, 4"