summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
authorhle0 <91701075+hle0@users.noreply.github.com>2022-03-26 22:10:30 +0100
committerAlexander Harkness <me@bearbin.net>2022-04-12 01:06:31 +0200
commitd98e2bdaa3903de29f62791c05472a693b0ea36b (patch)
treee2acc9547a4dc5a1d52468f7eff1174aa29b08e4 /src/Protocol
parentDisable u8 prefix C++20 warning since we need it (diff)
downloadcuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.gz
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.bz2
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.lz
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.xz
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.zst
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.zip
Diffstat (limited to 'src/Protocol')
-rw-r--r--src/Protocol/Protocol_1_8.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp
index 69fe40b9b..a84dadf53 100644
--- a/src/Protocol/Protocol_1_8.cpp
+++ b/src/Protocol/Protocol_1_8.cpp
@@ -2972,6 +2972,7 @@ void cProtocol_1_8_0::ParseItemMetadata(cItem & a_Item, const ContiguousByteBuff
{
a_Item.m_RepairCost = NBT.GetInt(tag);
}
+ break;
}
default: LOGD("Unimplemented NBT data when parsing!"); break;
}
@@ -3940,6 +3941,8 @@ UInt8 cProtocol_1_8_0::GetProtocolEntityType(const cEntity & a_Entity)
case PType::pkFirework: return 76;
case PType::pkWitherSkull: return 66;
}
+
+ break;
}
case Type::etFloater: return 90;
case Type::etItemFrame: return 71;