diff options
author | Mattes D <github@xoft.cz> | 2014-10-22 16:06:16 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-22 16:06:32 +0200 |
commit | 7ed27c6b8034e5334eda88fe4515349405132cff (patch) | |
tree | 444469b58d234a42d33ee80aea3b5e9f6b2aefc4 | |
parent | APIDump: Added docs for a few projectiles. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Bindings/LuaState.cpp | 2 |
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: |