summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-22 10:33:53 +0200
committerMattes D <github@xoft.cz>2014-08-22 10:33:53 +0200
commit2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621 (patch)
tree9910cecce59d926f52f2b94fe98b1a830728bc8c /src/Bindings/PluginLua.h
parentcLuaState: Fixed Vector3<> names pushed to Lua. (diff)
downloadcuberite-2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621.tar
cuberite-2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621.tar.gz
cuberite-2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621.tar.bz2
cuberite-2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621.tar.lz
cuberite-2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621.tar.xz
cuberite-2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621.tar.zst
cuberite-2dfcd678c41f0066ff69ea39d9dc4bdbfe8ab621.zip
Diffstat (limited to '')
-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 2b7358043..eda65b76c 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -98,8 +98,8 @@ 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 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 OnPlayerMoving (cPlayer & a_Player, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition) 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;
virtual bool OnPlayerRightClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override;