summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-23 22:36:22 +0100
committermadmaxoft <github@xoft.cz>2013-12-23 22:36:22 +0100
commit5bbe72bc905b8729ac3bb7a47dcf886eec759d85 (patch)
treefff2bb0ce5fd3f64d41b03e109ab81991cd5575a /src/Bindings/PluginLua.cpp
parentFixed bug where snowgolems could replace non-solid blocks to snow blocks. (diff)
downloadcuberite-5bbe72bc905b8729ac3bb7a47dcf886eec759d85.tar
cuberite-5bbe72bc905b8729ac3bb7a47dcf886eec759d85.tar.gz
cuberite-5bbe72bc905b8729ac3bb7a47dcf886eec759d85.tar.bz2
cuberite-5bbe72bc905b8729ac3bb7a47dcf886eec759d85.tar.lz
cuberite-5bbe72bc905b8729ac3bb7a47dcf886eec759d85.tar.xz
cuberite-5bbe72bc905b8729ac3bb7a47dcf886eec759d85.tar.zst
cuberite-5bbe72bc905b8729ac3bb7a47dcf886eec759d85.zip
Diffstat (limited to 'src/Bindings/PluginLua.cpp')
-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 0d17c9ce2..0e5a66cd6 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -386,7 +386,7 @@ bool cPluginLua::OnExploded(cWorld & a_World, double a_ExplosionSize, bool a_Can
{
case esOther: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, a_SourceData, cLuaState::Return, res); break;
case esPrimedTNT: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, (cTNTEntity *)a_SourceData, cLuaState::Return, res); break;
- case esCreeper: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, (cCreeper *)a_SourceData, cLuaState::Return, res); break;
+ case esMonster: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, (cMonster *)a_SourceData, cLuaState::Return, res); break;
case esBed: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, (Vector3i *)a_SourceData, cLuaState::Return, res); break;
case esEnderCrystal: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, (Vector3i *)a_SourceData, cLuaState::Return, res); break;
case esGhastFireball: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, a_SourceData, cLuaState::Return, res); break;