mirror of
https://github.com/HybridDog/connected_chests.git
synced 2024-12-28 06:00:17 +01:00
automatic update
This commit is contained in:
parent
7bc92c6d12
commit
2e0548ebc5
8
init.lua
8
init.lua
@ -256,4 +256,10 @@ for _,i in pairs({"chest", "chest_locked"}) do
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
print(string.format("[connected_chest] loaded after ca. %.2fs", os.clock() - load_time_start))
|
local time = math.floor(tonumber(os.clock()-load_time_start)*100+0.5)/100
|
||||||
|
local msg = "[] loaded after ca. "..time
|
||||||
|
if time > 0.05 then
|
||||||
|
print(msg)
|
||||||
|
else
|
||||||
|
minetest.log("info", msg)
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user