summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-11-09 19:50:40 +0100
committerGargaj <gargaj@conspiracy.hu>2015-11-09 20:06:32 +0100
commit6d8baa6a75a648fb78ba93f6731f2924c944c676 (patch)
tree9ed9ac8bc6b9f4358188bd90d518e61cecb91385 /src/Protocol/Protocol17x.cpp
parentMerge pull request #2627 from Gargaj/patch-1 (diff)
downloadcuberite-6d8baa6a75a648fb78ba93f6731f2924c944c676.tar
cuberite-6d8baa6a75a648fb78ba93f6731f2924c944c676.tar.gz
cuberite-6d8baa6a75a648fb78ba93f6731f2924c944c676.tar.bz2
cuberite-6d8baa6a75a648fb78ba93f6731f2924c944c676.tar.lz
cuberite-6d8baa6a75a648fb78ba93f6731f2924c944c676.tar.xz
cuberite-6d8baa6a75a648fb78ba93f6731f2924c944c676.tar.zst
cuberite-6d8baa6a75a648fb78ba93f6731f2924c944c676.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 8dd608069..08ff4b268 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -2985,7 +2985,7 @@ void cProtocol172::WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_Mob)
case mtCreeper:
{
a_Pkt.WriteBEUInt8(0x10);
- a_Pkt.WriteBEUInt8(reinterpret_cast<const cCreeper &>(a_Mob).IsBlowing() ? 1 : 0);
+ a_Pkt.WriteBEUInt8(reinterpret_cast<const cCreeper &>(a_Mob).IsBlowing() ? 1 : 255);
a_Pkt.WriteBEUInt8(0x11);
a_Pkt.WriteBEUInt8(reinterpret_cast<const cCreeper &>(a_Mob).IsCharged() ? 1 : 0);
break;