This commit is contained in:
HybridDog 2015-08-05 10:35:32 +02:00
parent 088d2debd1
commit 2ddf5c81a4
1 changed files with 10 additions and 1 deletions

View File

@ -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