diff options
author | Mattes D <github@xoft.cz> | 2016-08-18 08:05:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 08:05:51 +0200 |
commit | b5e6e0c46084f6ca628c206d19719a05d430ec10 (patch) | |
tree | b7a56b7c6d9a38d6c651d3996df1d16eb078ac57 /src | |
parent | Merge pull request #3326 from ElNounch/WrongLitterals (diff) | |
parent | Fix cWorld:QueueTask() Lua's binding (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Bindings/ManualBindings_World.cpp | 3 |
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; |