mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 19:42:10 +00:00
Merge 78d2217354
into 499f2284bd
This commit is contained in:
commit
3ef9032262
6 changed files with 76 additions and 43 deletions
|
@ -119,6 +119,9 @@ end
|
|||
-- }]]
|
||||
function dump(value, indent)
|
||||
indent = indent or "\t"
|
||||
|
||||
assert(type(indent) == "string", "dump()'s second argument should be a string or nil.")
|
||||
|
||||
local newline = indent == "" and "" or "\n"
|
||||
|
||||
local rope = {}
|
||||
|
@ -873,3 +876,4 @@ function core.parse_coordinates(x, y, z, relative_to)
|
|||
local rz = core.parse_relative_number(z, relative_to.z)
|
||||
return rx and ry and rz and vector.new(rx, ry, rz)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue