summaryrefslogtreecommitdiffstats
path: root/source/PluginLua.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-11 12:12:20 +0200
committermadmaxoft <github@xoft.cz>2013-08-11 12:29:05 +0200
commitdeeb3a15dc8914a3514685e8f79f543b00b2b908 (patch)
tree840a5d0a612a131318a9a40ff36b2c16f3bd28e0 /source/PluginLua.h
parentAttempt at fixing torch placement (diff)
downloadcuberite-deeb3a15dc8914a3514685e8f79f543b00b2b908.tar
cuberite-deeb3a15dc8914a3514685e8f79f543b00b2b908.tar.gz
cuberite-deeb3a15dc8914a3514685e8f79f543b00b2b908.tar.bz2
cuberite-deeb3a15dc8914a3514685e8f79f543b00b2b908.tar.lz
cuberite-deeb3a15dc8914a3514685e8f79f543b00b2b908.tar.xz
cuberite-deeb3a15dc8914a3514685e8f79f543b00b2b908.tar.zst
cuberite-deeb3a15dc8914a3514685e8f79f543b00b2b908.zip
Diffstat (limited to 'source/PluginLua.h')
-rw-r--r--source/PluginLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/PluginLua.h b/source/PluginLua.h
index 5c0ff3f0d..b6344b484 100644
--- a/source/PluginLua.h
+++ b/source/PluginLua.h
@@ -59,6 +59,7 @@ public:
virtual bool OnHandshake (cClientHandle * a_Client, const AString & a_Username) override;
virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer) override;
virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) override;
+ virtual bool OnPlayerAnimation (cPlayer & a_Player, int a_Animation) override;
virtual bool OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual bool OnPlayerEating (cPlayer & a_Player) override;