summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_World.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-18 08:05:51 +0200
committerGitHub <noreply@github.com>2016-08-18 08:05:51 +0200
commitb5e6e0c46084f6ca628c206d19719a05d430ec10 (patch)
treeb7a56b7c6d9a38d6c651d3996df1d16eb078ac57 /src/Bindings/ManualBindings_World.cpp
parentMerge pull request #3326 from ElNounch/WrongLitterals (diff)
parentFix cWorld:QueueTask() Lua's binding (diff)
downloadcuberite-b5e6e0c46084f6ca628c206d19719a05d430ec10.tar
cuberite-b5e6e0c46084f6ca628c206d19719a05d430ec10.tar.gz
cuberite-b5e6e0c46084f6ca628c206d19719a05d430ec10.tar.bz2
cuberite-b5e6e0c46084f6ca628c206d19719a05d430ec10.tar.lz
cuberite-b5e6e0c46084f6ca628c206d19719a05d430ec10.tar.xz
cuberite-b5e6e0c46084f6ca628c206d19719a05d430ec10.tar.zst
cuberite-b5e6e0c46084f6ca628c206d19719a05d430ec10.zip
Diffstat (limited to 'src/Bindings/ManualBindings_World.cpp')
-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;