mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Close #16373 by making the error slightly less confusing
This commit is contained in:
parent
f899a5d26f
commit
84605917bb
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ end
|
|||
-- }]]
|
||||
function dump(value, indent)
|
||||
indent = indent or "\t"
|
||||
assert(type(indent) == "string", "dump()'s second argument should be a string or nil, to dump multiple things use dump({a, b}).")
|
||||
local newline = indent == "" and "" or "\n"
|
||||
|
||||
local rope = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue