mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 23:42:59 +00:00
force output syntax in msize
This commit is contained in:
parent
d69dae5087
commit
f94906c854
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ worldedit.register_command("msize", {
|
||||||
local vec = vector.subtract(worldedit.pos2[name],worldedit.pos1[name])
|
local vec = vector.subtract(worldedit.pos2[name],worldedit.pos1[name])
|
||||||
wea.vector.abs(vec)
|
wea.vector.abs(vec)
|
||||||
|
|
||||||
return true, str .. wea.table.tostring(vec)
|
return true, str .. "x: " .. vec.x .. ", y: " .. vec.y .. ", z: " .. vec.z
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue