summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol15x.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-11 17:03:09 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-11 17:03:09 +0200
commit3bd3ac2200392542b111d2bcd2951bd342edf721 (patch)
tree7b7670883575c6687a219192923bc40265192eff /src/Protocol/Protocol15x.cpp
parent1.8: Added MultiBlockChange packet. (diff)
downloadcuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar
cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.gz
cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.bz2
cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.lz
cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.xz
cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.tar.zst
cuberite-3bd3ac2200392542b111d2bcd2951bd342edf721.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol15x.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol15x.cpp b/src/Protocol/Protocol15x.cpp
index 2b1f01b08..089296fdf 100644
--- a/src/Protocol/Protocol15x.cpp
+++ b/src/Protocol/Protocol15x.cpp
@@ -80,7 +80,7 @@ void cProtocol150::SendWindowOpen(const cWindow & a_Window)
-void cProtocol150::SendParticleEffect(const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmmount)
+void cProtocol150::SendParticleEffect(const AString & a_ParticleName, float a_SrcX, float a_SrcY, float a_SrcZ, float a_OffsetX, float a_OffsetY, float a_OffsetZ, float a_ParticleData, int a_ParticleAmount)
{
cCSLock Lock(m_CSPacket);
WriteByte(PACKET_PARTICLE_EFFECT);
@@ -92,7 +92,7 @@ void cProtocol150::SendParticleEffect(const AString & a_ParticleName, float a_Sr
WriteFloat(a_OffsetY);
WriteFloat(a_OffsetZ);
WriteFloat(a_ParticleData);
- WriteInt(a_ParticleAmmount);
+ WriteInt(a_ParticleAmount);
Flush();
}