summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-30 15:12:56 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-30 15:12:56 +0200
commitaa753a92c092a4d35b2ff7d08259c3196abecf67 (patch)
treebfc61dbfbc957110217460cb89d7be612ee1f944 /src/Bindings/PluginLua.h
parentUnnecessary return (diff)
downloadcuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar
cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.gz
cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.bz2
cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.lz
cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.xz
cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.zst
cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.zip
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 598e031c0..cf244f33d 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -95,6 +95,7 @@ public:
virtual bool OnPlayerEating (cPlayer & a_Player) override;
virtual bool OnPlayerFished (cPlayer & a_Player, const cItems & a_Reward) override;
virtual bool OnPlayerFishing (cPlayer & a_Player, cItems & a_Reward) override;
+ virtual bool OnPlayerFoodLevelChange (cPlayer & a_Player, int & a_NewFoodLevel) override;
virtual bool OnPlayerJoined (cPlayer & a_Player) override;
virtual bool OnPlayerMoved (cPlayer & a_Player) override;
virtual bool OnPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status) override;