summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_14.cpp
diff options
context:
space:
mode:
authorSimon Pribylski <66266021+Persson-dev@users.noreply.github.com>2022-04-21 18:05:09 +0200
committerGitHub <noreply@github.com>2022-04-21 18:05:09 +0200
commit844a33933076a8e343de944b6eab26b4166e2f6f (patch)
treef1c69581153d462e40d116e117713c95aae1f84c /src/Protocol/Protocol_1_14.cpp
parentImproving 1.14 support (#5388) (diff)
downloadcuberite-844a33933076a8e343de944b6eab26b4166e2f6f.tar
cuberite-844a33933076a8e343de944b6eab26b4166e2f6f.tar.gz
cuberite-844a33933076a8e343de944b6eab26b4166e2f6f.tar.bz2
cuberite-844a33933076a8e343de944b6eab26b4166e2f6f.tar.lz
cuberite-844a33933076a8e343de944b6eab26b4166e2f6f.tar.xz
cuberite-844a33933076a8e343de944b6eab26b4166e2f6f.tar.zst
cuberite-844a33933076a8e343de944b6eab26b4166e2f6f.zip
Diffstat (limited to 'src/Protocol/Protocol_1_14.cpp')
-rw-r--r--src/Protocol/Protocol_1_14.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/Protocol/Protocol_1_14.cpp b/src/Protocol/Protocol_1_14.cpp
index dfe137c34..159bd7757 100644
--- a/src/Protocol/Protocol_1_14.cpp
+++ b/src/Protocol/Protocol_1_14.cpp
@@ -50,19 +50,6 @@ Implements the 1.14 protocol classes:
-#define HANDLE_READ(ByteBuf, Proc, Type, Var) \
- Type Var; \
- do { \
- if (!ByteBuf.Proc(Var))\
- {\
- return;\
- } \
- } while (false)
-
-
-
-
-
////////////////////////////////////////////////////////////////////////////////
// cProtocol_1_14:
@@ -733,6 +720,7 @@ UInt8 cProtocol_1_14::GetProtocolEntityType(const cEntity & a_Entity) const
case PType::pkFirework: return 26;
case PType::pkWitherSkull: return 92;
}
+ break;
}
case Type::etFloater: return 101;
case Type::etItemFrame: return 35;