summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-16 22:29:41 +0200
committerMattes D <github@xoft.cz>2014-08-16 22:29:41 +0200
commite045a25e10e1aff47c35fae44c6b585df061c612 (patch)
treeb2c69b5faf2f199e30bdf9c2ee3b6cd76a125ef7 /src/Bindings/PluginLua.h
parentMerge pull request #1308 from mc-server/logger (diff)
parentUpdated HOOK_PLAYER_MOVING documentation. (diff)
downloadcuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar
cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.gz
cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.bz2
cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.lz
cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.xz
cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.zst
cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.zip
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 2cea644c1..6df86f7a1 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -98,7 +98,7 @@ public:
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 OnPlayerMoving (cPlayer & a_Player, const Vector3d a_OldPosition, const Vector3d a_NewPosition) override;
virtual bool OnPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status) override;
virtual bool OnPlayerPlacedBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual bool OnPlayerPlacingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;