summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-21 21:37:52 +0200
committerMattes D <github@xoft.cz>2014-08-21 21:37:52 +0200
commit1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935 (patch)
tree6c03783a64883245b13f8904d76f58e26164fc14 /src/Bindings
parentMerge pull request #1314 from mc-server/Fire (diff)
downloadcuberite-1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935.tar
cuberite-1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935.tar.gz
cuberite-1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935.tar.bz2
cuberite-1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935.tar.lz
cuberite-1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935.tar.xz
cuberite-1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935.tar.zst
cuberite-1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935.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 d0b4fa617..ad8528114 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -842,7 +842,7 @@ bool cPluginLua::OnPlayerMoving(cPlayer & a_Player, const Vector3d a_OldPosition
cLuaRefs & Refs = m_HookMap[cPluginManager::HOOK_PLAYER_MOVING];
for (cLuaRefs::iterator itr = Refs.begin(), end = Refs.end(); itr != end; ++itr)
{
- m_LuaState.Call((int)(**itr), &a_Player, &a_OldPosition, &a_NewPosition, cLuaState::Return, res);
+ m_LuaState.Call((int)(**itr), &a_Player, a_OldPosition, a_NewPosition, cLuaState::Return, res);
if (res)
{
return true;