summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-11-09 20:18:12 +0100
committerAlexander Harkness <me@bearbin.net>2015-11-09 20:18:12 +0100
commitb32d13ae2d22111bbbd7125f5a27519b42c30dee (patch)
tree9ed9ac8bc6b9f4358188bd90d518e61cecb91385 /src/Protocol/Protocol18x.cpp
parentMerge pull request #2627 from Gargaj/patch-1 (diff)
parentidle/deflating creeper should be -1 (diff)
downloadcuberite-b32d13ae2d22111bbbd7125f5a27519b42c30dee.tar
cuberite-b32d13ae2d22111bbbd7125f5a27519b42c30dee.tar.gz
cuberite-b32d13ae2d22111bbbd7125f5a27519b42c30dee.tar.bz2
cuberite-b32d13ae2d22111bbbd7125f5a27519b42c30dee.tar.lz
cuberite-b32d13ae2d22111bbbd7125f5a27519b42c30dee.tar.xz
cuberite-b32d13ae2d22111bbbd7125f5a27519b42c30dee.tar.zst
cuberite-b32d13ae2d22111bbbd7125f5a27519b42c30dee.zip
Diffstat (limited to 'src/Protocol/Protocol18x.cpp')
-rw-r--r--src/Protocol/Protocol18x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp
index 81e9bc1bc..428e24f7c 100644
--- a/src/Protocol/Protocol18x.cpp
+++ b/src/Protocol/Protocol18x.cpp
@@ -3296,7 +3296,7 @@ void cProtocol180::WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_Mob)
{
auto & Creeper = reinterpret_cast<const cCreeper &>(a_Mob);
a_Pkt.WriteBEUInt8(0x10);
- a_Pkt.WriteBEUInt8(Creeper.IsBlowing() ? 1 : 0);
+ a_Pkt.WriteBEUInt8(Creeper.IsBlowing() ? 1 : 255);
a_Pkt.WriteBEUInt8(0x11);
a_Pkt.WriteBEUInt8(Creeper.IsCharged() ? 1 : 0);
break;