summaryrefslogtreecommitdiffstats
path: root/source/PluginLua.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-10-12 22:52:51 +0200
committerSamuel Barney <samjbarney@gmail.com>2013-10-12 22:52:51 +0200
commit25c5df0e0570b9bd24f41d8ed1218845d446336a (patch)
tree21177d7854f74aa6b3cdb5f80b6d98097e72954b /source/PluginLua.h
parentMerge pull request #224 from tonibm19/patch-7 (diff)
downloadcuberite-25c5df0e0570b9bd24f41d8ed1218845d446336a.tar
cuberite-25c5df0e0570b9bd24f41d8ed1218845d446336a.tar.gz
cuberite-25c5df0e0570b9bd24f41d8ed1218845d446336a.tar.bz2
cuberite-25c5df0e0570b9bd24f41d8ed1218845d446336a.tar.lz
cuberite-25c5df0e0570b9bd24f41d8ed1218845d446336a.tar.xz
cuberite-25c5df0e0570b9bd24f41d8ed1218845d446336a.tar.zst
cuberite-25c5df0e0570b9bd24f41d8ed1218845d446336a.zip
Diffstat (limited to 'source/PluginLua.h')
-rw-r--r--source/PluginLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/PluginLua.h b/source/PluginLua.h
index d5d202bf0..908466966 100644
--- a/source/PluginLua.h
+++ b/source/PluginLua.h
@@ -169,7 +169,7 @@ public:
}
/// Call a Lua function with 4 args
- template <typename FnT, typename ArgT0, typename ArgT1, typename ArgT2, typename ArgT3> bool Call(FnT a_Fn, ArgT0 a_Arg0, ArgT1 a_Arg1, ArgT2 a_Arg2, ArgT3 a_ArgT3)
+ template <typename FnT, typename ArgT0, typename ArgT1, typename ArgT2, typename ArgT3> bool Call(FnT a_Fn, ArgT0 a_Arg0, ArgT1 a_Arg1, ArgT2 a_Arg2, ArgT3 a_Arg3)
{
cCSLock Lock(m_CriticalSection);
return m_LuaState.Call(a_Fn, a_Arg0, a_Arg1, a_Arg2, a_Arg3);