summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.cpp
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.cpp
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp
index ad8528114..2c2d05547 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -835,7 +835,7 @@ bool cPluginLua::OnPlayerLeftClick(cPlayer & a_Player, int a_BlockX, int a_Block
-bool cPluginLua::OnPlayerMoving(cPlayer & a_Player, const Vector3d a_OldPosition, const Vector3d a_NewPosition)
+bool cPluginLua::OnPlayerMoving(cPlayer & a_Player, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition)
{
cCSLock Lock(m_CriticalSection);
bool res = false;