mirror of
https://github.com/HybridDog/we_undo.git
synced 2025-03-02 23:24:40 +01:00
Remove the mod load time message since this is already implemented in Minetest verbose output
This commit is contained in:
14
init.lua
14
init.lua
@ -1,6 +1,3 @@
|
||||
local load_time_start = minetest.get_us_time()
|
||||
|
||||
|
||||
----------------- Settings -----------------------------------------------------
|
||||
|
||||
local remember_innocuous =
|
||||
@ -1342,14 +1339,3 @@ override_cc_with_confirm("/luatransform",
|
||||
worldedit.luatransform = we_luatransform
|
||||
end
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
local time = (minetest.get_us_time() - load_time_start) / 1000000
|
||||
local msg = "[we_undo] loaded after ca. " .. time .. " seconds."
|
||||
if time > 0.01 then
|
||||
print(msg)
|
||||
else
|
||||
minetest.log("info", msg)
|
||||
end
|
||||
|
Reference in New Issue
Block a user