diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-16 18:44:14 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-16 18:44:14 +0200 |
commit | a68c70c900d0f3b3842d78af49423890f29af180 (patch) | |
tree | d50bfee78da1af28f1e287c3aee5038f705aae0c /src/Bindings/PluginLua.h | |
parent | Merge pull request #1308 from mc-server/logger (diff) | |
download | cuberite-a68c70c900d0f3b3842d78af49423890f29af180.tar cuberite-a68c70c900d0f3b3842d78af49423890f29af180.tar.gz cuberite-a68c70c900d0f3b3842d78af49423890f29af180.tar.bz2 cuberite-a68c70c900d0f3b3842d78af49423890f29af180.tar.lz cuberite-a68c70c900d0f3b3842d78af49423890f29af180.tar.xz cuberite-a68c70c900d0f3b3842d78af49423890f29af180.tar.zst cuberite-a68c70c900d0f3b3842d78af49423890f29af180.zip |
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r-- | src/Bindings/PluginLua.h | 2 |
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; |