summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElNounch <publi@elnounch.net>2016-08-18 01:27:26 +0200
committerElNounch <publi@elnounch.net>2016-08-18 01:27:26 +0200
commit787173351de63d775d3182f45ffe7de492c06afe (patch)
treeb7a56b7c6d9a38d6c651d3996df1d16eb078ac57
parentMerge pull request #3326 from ElNounch/WrongLitterals (diff)
downloadcuberite-787173351de63d775d3182f45ffe7de492c06afe.tar
cuberite-787173351de63d775d3182f45ffe7de492c06afe.tar.gz
cuberite-787173351de63d775d3182f45ffe7de492c06afe.tar.bz2
cuberite-787173351de63d775d3182f45ffe7de492c06afe.tar.lz
cuberite-787173351de63d775d3182f45ffe7de492c06afe.tar.xz
cuberite-787173351de63d775d3182f45ffe7de492c06afe.tar.zst
cuberite-787173351de63d775d3182f45ffe7de492c06afe.zip
-rw-r--r--src/Bindings/ManualBindings_World.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings_World.cpp b/src/Bindings/ManualBindings_World.cpp
index 56a4ee65b..9bb9778dd 100644
--- a/src/Bindings/ManualBindings_World.cpp
+++ b/src/Bindings/ManualBindings_World.cpp
@@ -478,8 +478,7 @@ static int tolua_cWorld_QueueTask(lua_State * tolua_S)
cLuaState L(tolua_S);
if (
!L.CheckParamUserType(1, "cWorld") ||
- !L.CheckParamNumber (2) ||
- !L.CheckParamFunction(3)
+ !L.CheckParamFunction(2)
)
{
return 0;