summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.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/Protocol17x.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/Protocol17x.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index b4f96bd88..d83e86ece 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -847,7 +847,7 @@ void cProtocol172::SendEntityAnimation(const cEntity & a_Entity, char a_Animatio
-void cProtocol172::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 cProtocol172::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)
{
ASSERT(m_State == 3); // In game mode?
@@ -860,7 +860,7 @@ void cProtocol172::SendParticleEffect(const AString & a_ParticleName, float a_Sr
Pkt.WriteFloat(a_OffsetY);
Pkt.WriteFloat(a_OffsetZ);
Pkt.WriteFloat(a_ParticleData);
- Pkt.WriteInt(a_ParticleAmmount);
+ Pkt.WriteInt(a_ParticleAmount);
}