summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_10.cpp
diff options
context:
space:
mode:
authorPokechu22 <pokechu022@gmail.com>2017-03-03 10:59:17 +0100
committerMattes D <github@xoft.cz>2017-03-03 10:59:17 +0100
commit19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86 (patch)
tree632d6a28faa1d0563e1e351177ecb02308faed0e /src/Protocol/Protocol_1_10.cpp
parentAdded missing IsStatic flag to functions. (#3613) (diff)
downloadcuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.gz
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.bz2
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.lz
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.xz
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.tar.zst
cuberite-19094e7aa6e3cacead3b7a2d3b6c9e2972b27e86.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol_1_10.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol_1_10.cpp b/src/Protocol/Protocol_1_10.cpp
index 5ecd2743b..813729fee 100644
--- a/src/Protocol/Protocol_1_10.cpp
+++ b/src/Protocol/Protocol_1_10.cpp
@@ -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());