summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-08 01:32:02 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-08 01:32:02 +0100
commit0148685d4ea47c9f81fabb5065fd733e00441da8 (patch)
treec5de28eed32ff837d650fce566e93f960dcae980 /src
parentBonemeal has particles, fixes #393 (diff)
downloadcuberite-0148685d4ea47c9f81fabb5065fd733e00441da8.tar
cuberite-0148685d4ea47c9f81fabb5065fd733e00441da8.tar.gz
cuberite-0148685d4ea47c9f81fabb5065fd733e00441da8.tar.bz2
cuberite-0148685d4ea47c9f81fabb5065fd733e00441da8.tar.lz
cuberite-0148685d4ea47c9f81fabb5065fd733e00441da8.tar.xz
cuberite-0148685d4ea47c9f81fabb5065fd733e00441da8.tar.zst
cuberite-0148685d4ea47c9f81fabb5065fd733e00441da8.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 68f15cb69..233155c90 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -664,7 +664,7 @@ void cProtocol172::SendSpawnFallingBlock(const cFallingBlock & a_FallingBlock)
Pkt.WriteFPInt(a_FallingBlock.GetPosZ());
Pkt.WriteByteAngle(a_FallingBlock.GetYaw());
Pkt.WriteByteAngle(a_FallingBlock.GetPitch());
- Pkt.WriteInt(((int)a_FallingBlock.GetBlockType()) | (((int)a_FallingBlock.GetBlockMeta()) << 12));
+ Pkt.WriteInt(((int)a_FallingBlock.GetBlockType()) | (((int)a_FallingBlock.GetBlockMeta()) << 16)); // Or 0x10
Pkt.WriteShort((short)(a_FallingBlock.GetSpeedX() * 400));
Pkt.WriteShort((short)(a_FallingBlock.GetSpeedY() * 400));
Pkt.WriteShort((short)(a_FallingBlock.GetSpeedZ() * 400));