summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol132.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-12 22:43:20 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-12 22:43:20 +0100
commit347162a82f2cba75c4eb7739d4405ea78de4f0b5 (patch)
tree35409f6d8f6061ae3f8fa4569c0962a8bd569186 /source/Protocol/Protocol132.cpp
parentBundled fixes [SEE DESC] (diff)
downloadcuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar
cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.gz
cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.bz2
cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.lz
cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.xz
cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.zst
cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.zip
Diffstat (limited to 'source/Protocol/Protocol132.cpp')
-rw-r--r--source/Protocol/Protocol132.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Protocol/Protocol132.cpp b/source/Protocol/Protocol132.cpp
index 53159a3b3..22eac4312 100644
--- a/source/Protocol/Protocol132.cpp
+++ b/source/Protocol/Protocol132.cpp
@@ -392,9 +392,9 @@ void cProtocol132::SendSoundParticleEffect(int a_EffectID, int a_SrcX, int a_Src
cCSLock Lock(m_CSPacket);
WriteByte(PACKET_SOUND_PARTICLE_EFFECT);
WriteInt (a_EffectID);
- WriteInt (a_SrcX / 8);
- WriteByte(a_SrcY / 8);
- WriteInt (a_SrcZ / 8);
+ WriteInt (a_SrcX);
+ WriteByte(a_SrcY);
+ WriteInt (a_SrcZ);
WriteInt (a_Data);
Flush();
}