summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-19 16:25:18 +0200
committertycho <work.tycho@gmail.com>2015-05-19 18:09:05 +0200
commit480052c058f3a8ebc70f024933ba5deb6baf0b08 (patch)
tree139f97344eb2f10201021b0cb3f582a7a024d9ec /src/Bindings/PluginLua.cpp
parentFixed some more warnings (diff)
downloadcuberite-480052c058f3a8ebc70f024933ba5deb6baf0b08.tar
cuberite-480052c058f3a8ebc70f024933ba5deb6baf0b08.tar.gz
cuberite-480052c058f3a8ebc70f024933ba5deb6baf0b08.tar.bz2
cuberite-480052c058f3a8ebc70f024933ba5deb6baf0b08.tar.lz
cuberite-480052c058f3a8ebc70f024933ba5deb6baf0b08.tar.xz
cuberite-480052c058f3a8ebc70f024933ba5deb6baf0b08.tar.zst
cuberite-480052c058f3a8ebc70f024933ba5deb6baf0b08.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginLua.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp
index a8be26f71..83466ab84 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -629,11 +629,6 @@ bool cPluginLua::OnExploded(cWorld & a_World, double a_ExplosionSize, bool a_Can
case esWitherSkullBlue: 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 esWitherBirth: 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 esPlugin: 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;
- default:
- {
- ASSERT(!"Unhandled ExplosionSource");
- return false;
- }
}
if (res)
{
@@ -670,11 +665,6 @@ bool cPluginLua::OnExploding(cWorld & a_World, double & a_ExplosionSize, bool &
case esWitherSkullBlue: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, a_SourceData, cLuaState::Return, res, a_CanCauseFire, a_ExplosionSize); break;
case esWitherBirth: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, a_SourceData, cLuaState::Return, res, a_CanCauseFire, a_ExplosionSize); break;
case esPlugin: m_LuaState.Call((int)(**itr), &a_World, a_ExplosionSize, a_CanCauseFire, a_X, a_Y, a_Z, a_Source, a_SourceData, cLuaState::Return, res, a_CanCauseFire, a_ExplosionSize); break;
- default:
- {
- ASSERT(!"Unhandled ExplosionSource");
- return false;
- }
}
if (res)
{