summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_11.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-05-04 12:50:02 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-05-04 14:29:56 +0200
commiteb3ca16921080b1496d2e71de95ce533929241e1 (patch)
treee1dc67df2493c8e36ea34f473f4184e0576c0440 /src/Protocol/Protocol_1_11.cpp
parentFix incorrect formatter invocation (diff)
downloadcuberite-eb3ca16921080b1496d2e71de95ce533929241e1.tar
cuberite-eb3ca16921080b1496d2e71de95ce533929241e1.tar.gz
cuberite-eb3ca16921080b1496d2e71de95ce533929241e1.tar.bz2
cuberite-eb3ca16921080b1496d2e71de95ce533929241e1.tar.lz
cuberite-eb3ca16921080b1496d2e71de95ce533929241e1.tar.xz
cuberite-eb3ca16921080b1496d2e71de95ce533929241e1.tar.zst
cuberite-eb3ca16921080b1496d2e71de95ce533929241e1.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol_1_11.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Protocol/Protocol_1_11.cpp b/src/Protocol/Protocol_1_11.cpp
index 677662a6f..b12b45814 100644
--- a/src/Protocol/Protocol_1_11.cpp
+++ b/src/Protocol/Protocol_1_11.cpp
@@ -58,9 +58,9 @@ Implements the 1.11 protocol classes:
#pragma clang diagnostic ignored "-Wduplicate-enum"
#endif
-namespace Metadata
+namespace Metadata_1_11
{
- enum Metadata_Index
+ enum MetadataIndex
{
// Entity
ENTITY_FLAGS,
@@ -653,7 +653,7 @@ void cProtocol_1_11_0::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer)
void cProtocol_1_11_0::WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity)
{
- using namespace Metadata;
+ using namespace Metadata_1_11;
// Common metadata:
Int8 Flags = 0;
@@ -860,7 +860,7 @@ void cProtocol_1_11_0::WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity &
void cProtocol_1_11_0::WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_Mob)
{
- using namespace Metadata;
+ using namespace Metadata_1_11;
// Living Enitiy Metadata
if (a_Mob.HasCustomName())