Add 1.11 entity metadata (#3601)

This commit is contained in:
Pokechu22
2017-03-03 10:59:17 +01:00
committed by Mattes D
parent 6ee0e4cafa
commit 19094e7aa6
4 changed files with 845 additions and 5 deletions
+1 -1
View File
@@ -865,7 +865,7 @@ void cProtocol_1_10_0::WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_
case mtZombie:
{
auto & Zombie = reinterpret_cast<const cZombie &>(a_Mob);
a_Pkt.WriteBEUInt8(AGEABLE_BABY);
a_Pkt.WriteBEUInt8(ZOMBIE_IS_BABY);
a_Pkt.WriteBEUInt8(METADATA_TYPE_BOOL);
a_Pkt.WriteBool(Zombie.IsBaby());