summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-22 16:06:16 +0200
committerMattes D <github@xoft.cz>2014-10-22 16:06:32 +0200
commit7ed27c6b8034e5334eda88fe4515349405132cff (patch)
tree444469b58d234a42d33ee80aea3b5e9f6b2aefc4 /src/Bindings/LuaState.cpp
parentAPIDump: Added docs for a few projectiles. (diff)
downloadcuberite-7ed27c6b8034e5334eda88fe4515349405132cff.tar
cuberite-7ed27c6b8034e5334eda88fe4515349405132cff.tar.gz
cuberite-7ed27c6b8034e5334eda88fe4515349405132cff.tar.bz2
cuberite-7ed27c6b8034e5334eda88fe4515349405132cff.tar.lz
cuberite-7ed27c6b8034e5334eda88fe4515349405132cff.tar.xz
cuberite-7ed27c6b8034e5334eda88fe4515349405132cff.tar.zst
cuberite-7ed27c6b8034e5334eda88fe4515349405132cff.zip
Diffstat (limited to 'src/Bindings/LuaState.cpp')
-rw-r--r--src/Bindings/LuaState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp
index 928436a2f..f8e026061 100644
--- a/src/Bindings/LuaState.cpp
+++ b/src/Bindings/LuaState.cpp
@@ -589,7 +589,7 @@ void cLuaState::Push(cEntity * a_Entity)
}
case cEntity::etProjectile:
{
- tolua_pushusertype(m_LuaState, a_Entity, "cProjectileEntity");
+ tolua_pushusertype(m_LuaState, a_Entity, a_Entity->GetClass());
break;
}
case cEntity::etFloater: