summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol125.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-26 10:12:00 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-26 10:12:00 +0100
commit17a2c1b3886ed38b3e5e93238029476866b8c220 (patch)
treee4c4c335456e5d77cd986094ebd0fd4ebe359733 /source/Protocol/Protocol125.cpp
parentProtoProxy: more 1.4.6 stuff, now the connection holds stable with the 1.4.6 client. (diff)
downloadcuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.gz
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.bz2
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.lz
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.xz
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.tar.zst
cuberite-17a2c1b3886ed38b3e5e93238029476866b8c220.zip
Diffstat (limited to 'source/Protocol/Protocol125.cpp')
-rw-r--r--source/Protocol/Protocol125.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/Protocol/Protocol125.cpp b/source/Protocol/Protocol125.cpp
index 821cebfa1..cb1e46193 100644
--- a/source/Protocol/Protocol125.cpp
+++ b/source/Protocol/Protocol125.cpp
@@ -23,6 +23,7 @@ Documentation:
#include "../UI/Window.h"
#include "../Root.h"
#include "../Server.h"
+#include "../FallingBlock.h"
@@ -614,6 +615,16 @@ void cProtocol125::SendSoundParticleEffect(int a_EffectID, int a_SrcX, int a_Src
+void cProtocol125::SendSpawnFallingBlock(const cFallingBlock & a_FallingBlock)
+{
+ // This protocol version implements falling blocks using the spawn object / vehicle packet:
+ SendSpawnObject(a_FallingBlock, 70, a_FallingBlock.GetBlockType(), 0, 0, 0, 0, 0);
+}
+
+
+
+
+
void cProtocol125::SendSpawnMob(const cMonster & a_Mob)
{
cCSLock Lock(m_CSPacket);