diff options
author | Mattes D <github@xoft.cz> | 2014-08-21 21:37:52 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-21 21:37:52 +0200 |
commit | 1e5d770d7f55c8d6ce7c0afa3bc75d416e6ac935 (patch) | |
tree | 6c03783a64883245b13f8904d76f58e26164fc14 /src/Bindings | |
parent | Merge pull request #1314 from mc-server/Fire (diff) | |
download | cuberite-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.cpp | 2 |
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; |