diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-08 01:32:02 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-08 01:32:02 +0100 |
commit | 0148685d4ea47c9f81fabb5065fd733e00441da8 (patch) | |
tree | c5de28eed32ff837d650fce566e93f960dcae980 | |
parent | Bonemeal has particles, fixes #393 (diff) | |
download | cuberite-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.cpp | 2 |
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)); |