summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-10 20:12:30 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-10 20:12:30 +0100
commite62858ec3d027de8c5c4605913ab6261ec19d624 (patch)
treed1e3427af68ac13f35af69bf53bff2005a21e664 /source/Protocol/Protocol17x.cpp
parentThe owner object isn't stored anymore. Instead we use the name of the player. (diff)
downloadcuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.gz
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.bz2
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.lz
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.xz
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.tar.zst
cuberite-e62858ec3d027de8c5c4605913ab6261ec19d624.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol/Protocol17x.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Protocol/Protocol17x.cpp b/source/Protocol/Protocol17x.cpp
index ebf8f6c33..5022d6dbc 100644
--- a/source/Protocol/Protocol17x.cpp
+++ b/source/Protocol/Protocol17x.cpp
@@ -1752,6 +1752,8 @@ void cProtocol172::cPacketizer::WriteMobMetadata(const cMonster & a_Mob)
WriteFloat((float)(a_Mob.GetHealth()));
WriteByte(0x13);
WriteByte(Wolf.IsBegging() ? 1 : 0);
+ WriteByte(0x14);
+ WriteByte(Wolf.GetCollarColor());
break;
}