mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Handle LuaErrors in Lua -> C++ calls on LuaJIT
This commit is contained in:
parent
38d112033b
commit
49cec3f782
18 changed files with 113 additions and 134 deletions
|
@ -653,7 +653,7 @@ ItemStack read_item(lua_State* L, int index,Server* srv)
|
|||
}
|
||||
else
|
||||
{
|
||||
throw LuaError(L, "Expecting itemstack, itemstring, table or nil");
|
||||
throw LuaError(NULL, "Expecting itemstack, itemstring, table or nil");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue