summaryrefslogtreecommitdiffstats
path: root/source/FallingBlock.h
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/FallingBlock.h
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 '')
-rw-r--r--source/FallingBlock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/FallingBlock.h b/source/FallingBlock.h
index cdf1e1f04..e40b342fe 100644
--- a/source/FallingBlock.h
+++ b/source/FallingBlock.h
@@ -25,6 +25,9 @@ public:
cFallingBlock(const Vector3i & a_BlockPosition, BLOCKTYPE a_BlockType);
+ BLOCKTYPE GetBlockType(void) const { return m_BlockType; }
+
+ // cEntity overrides:
virtual void Initialize(cWorld * a_World) override;
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
virtual void Tick(float a_Dt, MTRand & a_TickRandom) override;