Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [03-17 18:21] <VanessaE> 18:21:12: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: /usr/local/share/minetest/builtin/misc.lua:17: bad argument #1 to 'unpack' (table expected, got nil)
- [03-17 18:56] <hmmmm> as for the minetest.after thing, well... unpack is a standard lua function
- [03-17 18:57] <hmmmm> (see http://www.lua.org/pil/5.1.html)
- [03-17 18:58] <hmmmm> so i guess we'll need to pass nil if we get a nil table
- [03-17 18:59] <hmmmm> timer.func(timer.args == nil ? {} : unpack(timer.args)) or however you do that with Lua syntax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement