forked from mtcontrib/nether-pack
🐈
This commit is contained in:
parent
088d2debd1
commit
2ddf5c81a4
@ -11,6 +11,8 @@
|
|||||||
-- godkiller447 (ideas)
|
-- godkiller447 (ideas)
|
||||||
-- If I didn't list you, please let me know!
|
-- If I didn't list you, please let me know!
|
||||||
|
|
||||||
|
local load_time_start = os.clock()
|
||||||
|
|
||||||
if not rawget(_G, "nether") then
|
if not rawget(_G, "nether") then
|
||||||
nether = {}
|
nether = {}
|
||||||
end
|
end
|
||||||
@ -1028,4 +1030,11 @@ dofile(path.."/crafting.lua")
|
|||||||
dofile(path.."/portal.lua")
|
dofile(path.."/portal.lua")
|
||||||
dofile(path.."/guide.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