mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
//count: fix logging
This commit is contained in:
parent
6dac57c53e
commit
e5d847f7e6
1 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
||||||
local we_c = worldeditadditions_commands
|
|
||||||
|
|
||||||
-- ██████ ██████ ██ ██ ███ ██ ████████
|
-- ██████ ██████ ██ ██ ███ ██ ████████
|
||||||
-- ██ ██ ██ ██ ██ ████ ██ ██
|
-- ██ ██ ██ ██ ██ ████ ██ ██
|
||||||
-- ██ ██ ██ ██ ██ ██ ██ ██ ██
|
-- ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||||
|
@ -29,7 +27,7 @@ worldedit.register_command("count", {
|
||||||
local time_taken = os.clock() - start_time
|
local time_taken = os.clock() - start_time
|
||||||
|
|
||||||
|
|
||||||
minetest.log("action", name.." used //count at "..worldeditadditions.vector.tostring(worldedit.pos1[name]).." - "..worldeditadditions.vector.tostring(worldedit.pos1[name])..", counting "..total.." nodes in "..time_taken.."s")
|
minetest.log("action", name.." used //count at "..worldeditadditions.vector.tostring(worldedit.pos1[name]).." - "..worldeditadditions.vector.tostring(worldedit.pos2[name])..", counting "..total.." nodes in "..time_taken.."s")
|
||||||
return true, result
|
return true, result
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue