summaryrefslogtreecommitdiffstats
path: root/source/LuaState.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-19 09:39:18 +0200
committermadmaxoft <github@xoft.cz>2013-08-19 09:39:18 +0200
commit493100bdb0f78073fb9377a5ff09756877b199ac (patch)
tree4bfabd654c28c51426e4565e1e7a4c19edfca66d /source/LuaState.cpp
parentImplemented the OnWorldTick hook. (diff)
downloadcuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.gz
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.bz2
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.lz
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.xz
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.zst
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.zip
Diffstat (limited to 'source/LuaState.cpp')
-rw-r--r--source/LuaState.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/LuaState.cpp b/source/LuaState.cpp
index 4b84df1e5..bbf47fb27 100644
--- a/source/LuaState.cpp
+++ b/source/LuaState.cpp
@@ -552,11 +552,11 @@ void cLuaState::Push(cWindow * a_Window)
-void cLuaState::Push(cPlugin_NewLua * a_Plugin)
+void cLuaState::Push(cPluginLua * a_Plugin)
{
ASSERT(IsValid());
- tolua_pushusertype(m_LuaState, a_Plugin, "cPlugin_NewLua");
+ tolua_pushusertype(m_LuaState, a_Plugin, "cPluginLua");
m_NumCurrentFunctionArgs += 1;
}