summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.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/Plugin.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/Plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 53d4be29d..c9a53346d 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -73,7 +73,7 @@ public:
virtual bool OnPlayerFoodLevelChange (cPlayer & a_Player, int a_NewFoodLevel) = 0;
virtual bool OnPlayerJoined (cPlayer & a_Player) = 0;
virtual bool OnPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status) = 0;
- virtual bool OnPlayerMoving (cPlayer & a_Player, const Vector3d a_OldPosition, const Vector3d a_NewPosition) = 0;
+ virtual bool OnPlayerMoving (cPlayer & a_Player, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition) = 0;
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) = 0;
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) = 0;
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) = 0;