ManualBindings: Fixed DoWithXYZ and ForEachInChunk signatures.
Fixes forum report http://forum.mc-server.org/showthread.php?tid=1993
This commit is contained in:
parent
ddb173b289
commit
98df75d5ab
@ -253,8 +253,9 @@ public:
|
||||
// Check params:
|
||||
cLuaState L(tolua_S);
|
||||
if (
|
||||
!L.CheckParamNumber(2, 5) ||
|
||||
!L.CheckParamFunction(6)
|
||||
!L.CheckParamNumber(2, 4) ||
|
||||
!L.CheckParamFunction(5) ||
|
||||
!L.CheckParamEnd(6)
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
@ -316,8 +317,9 @@ public:
|
||||
// Check params:
|
||||
cLuaState L(tolua_S);
|
||||
if (
|
||||
!L.CheckParamNumber(2, 4) ||
|
||||
!L.CheckParamFunction(5)
|
||||
!L.CheckParamNumber(2, 3) ||
|
||||
!L.CheckParamFunction(4) ||
|
||||
!L.CheckParamEnd(5)
|
||||
)
|
||||
{
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user