summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-15 14:36:14 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-15 14:36:14 +0100
commit28c345a8415655d801d2d052c7daa329cd760741 (patch)
tree6e1c30ebac820250de589e1c5c39d7d7c2028977
parentAdded support for 1.4.4 client, using the 1.4.2 protocol class (diff)
downloadcuberite-28c345a8415655d801d2d052c7daa329cd760741.tar
cuberite-28c345a8415655d801d2d052c7daa329cd760741.tar.gz
cuberite-28c345a8415655d801d2d052c7daa329cd760741.tar.bz2
cuberite-28c345a8415655d801d2d052c7daa329cd760741.tar.lz
cuberite-28c345a8415655d801d2d052c7daa329cd760741.tar.xz
cuberite-28c345a8415655d801d2d052c7daa329cd760741.tar.zst
cuberite-28c345a8415655d801d2d052c7daa329cd760741.zip
-rw-r--r--source/Protocol/ProtocolRecognizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Protocol/ProtocolRecognizer.cpp b/source/Protocol/ProtocolRecognizer.cpp
index c833853fa..19c40c5a3 100644
--- a/source/Protocol/ProtocolRecognizer.cpp
+++ b/source/Protocol/ProtocolRecognizer.cpp
@@ -48,6 +48,7 @@ AString cProtocolRecognizer::GetVersionTextFromInt(int a_ProtocolVersion)
case PROTO_VERSION_1_4_2: return "1.4.2";
case PROTO_VERSION_1_4_4: return "1.4.4";
}
+ ASSERT(!"Unknown protocol version");
return Printf("Unknown protocol (%d)", a_ProtocolVersion);
}