mirror of
https://github.com/HybridDog/nether-pack.git
synced 2024-11-05 01:40:38 +01:00
🐈
This commit is contained in:
parent
088d2debd1
commit
2ddf5c81a4
|
@ -11,6 +11,8 @@
|
|||
-- godkiller447 (ideas)
|
||||
-- If I didn't list you, please let me know!
|
||||
|
||||
local load_time_start = os.clock()
|
||||
|
||||
if not rawget(_G, "nether") then
|
||||
nether = {}
|
||||
end
|
||||
|
@ -1028,4 +1030,11 @@ dofile(path.."/crafting.lua")
|
|||
dofile(path.."/portal.lua")
|
||||
dofile(path.."/guide.lua")
|
||||
|
||||
nether:inform("loaded!", 1)
|
||||
|
||||
local time = math.floor(tonumber(os.clock()-load_time_start)*100+0.5)/100
|
||||
local msg = "[nether] 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