diff options
author | madmaxoft <github@xoft.cz> | 2014-06-03 19:29:04 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-06-03 19:29:23 +0200 |
commit | d92520016dab97a12174b1b6229909d66169bac9 (patch) | |
tree | baa673a1b8bd2c2fdafcd6426c53d6c22441a32b /src/Bindings/PluginLua.cpp | |
parent | docs/Generator: Updated PerlinRivers with better images. (diff) | |
download | cuberite-d92520016dab97a12174b1b6229909d66169bac9.tar cuberite-d92520016dab97a12174b1b6229909d66169bac9.tar.gz cuberite-d92520016dab97a12174b1b6229909d66169bac9.tar.bz2 cuberite-d92520016dab97a12174b1b6229909d66169bac9.tar.lz cuberite-d92520016dab97a12174b1b6229909d66169bac9.tar.xz cuberite-d92520016dab97a12174b1b6229909d66169bac9.tar.zst cuberite-d92520016dab97a12174b1b6229909d66169bac9.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 625931931..04639da60 100644 --- a/src/Bindings/PluginLua.cpp +++ b/src/Bindings/PluginLua.cpp @@ -1120,7 +1120,7 @@ bool cPluginLua::OnProjectileHitBlock(cProjectileEntity & a_Projectile, int a_Bl cLuaRefs & Refs = m_HookMap[cPluginManager::HOOK_PROJECTILE_HIT_BLOCK]; for (cLuaRefs::iterator itr = Refs.begin(), end = Refs.end(); itr != end; ++itr) { - m_LuaState.Call((int)(**itr), &a_Projectile, a_BlockX, a_BlockY, a_BlockZ, a_Face, &a_BlockHitPos, cLuaState::Return, res); + m_LuaState.Call((int)(**itr), &a_Projectile, a_BlockX, a_BlockY, a_BlockZ, a_Face, a_BlockHitPos, cLuaState::Return, res); if (res) { return true; |