Advertisement
Guest User

Untitled

a guest
Mar 18th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. [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)
  2.  
  3. [03-17 18:56] <hmmmm> as for the minetest.after thing, well... unpack is a standard lua function
  4. [03-17 18:57] <hmmmm> (see http://www.lua.org/pil/5.1.html)
  5. [03-17 18:58] <hmmmm> so i guess we'll need to pass nil if we get a nil table
  6. [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