Remove mod startup debug messages

This commit is contained in:
Wuzzy 2020-04-11 02:50:46 +02:00
parent 47cda09073
commit a2785041dd
45 changed files with 0 additions and 200 deletions

View file

@ -117,8 +117,5 @@ function mesecon.receptor_off(pos, rules)
mesecon.queue:add_action(pos, "receptor_off", {rules}, nil, rules)
end
print("[OK] Mesecons")
--Services like turnoff receptor on dignode and so on
dofile(minetest.get_modpath("mesecons").."/services.lua");

View file

@ -1,4 +1,3 @@
local init = os.clock()
local S = minetest.get_translator("mcl_colorblocks")
local doc_mod = minetest.get_modpath("doc")
@ -217,6 +216,3 @@ minetest.register_abm({
end
end,
})
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))

View file

@ -1,4 +1,3 @@
local init = os.clock()
mcl_doors = {}
local this = minetest.get_current_modname()
@ -8,7 +7,3 @@ dofile(path.."/api_doors.lua") -- Doors API
dofile(path.."/api_trapdoors.lua") -- Trapdoors API
dofile(path.."/register.lua") -- Register builtin doors and trapdoors
dofile(path.."/alias.lua") -- Legacy aliases
-- Debug info
local time_to_load= os.clock() - init
minetest.log("action", (string.format("[MOD] "..this.." loaded in %.4f s", time_to_load)))

View file

@ -1,4 +1,3 @@
local init = os.clock()
mcl_farming = {}
-- IMPORTANT API AND HELPER FUNCTIONS --
@ -28,6 +27,3 @@ dofile(minetest.get_modpath("mcl_farming").."/potatoes.lua")
-- ========= BEETROOT =========
dofile(minetest.get_modpath("mcl_farming").."/beetroot.lua")
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))

View file

@ -1,5 +1,3 @@
local init = os.clock()
local S = minetest.get_translator("mcl_fences")
-- Node box
@ -306,8 +304,3 @@ minetest.register_craft({
recipe = "group:fence_wood",
burntime = 15,
})
local time_to_load = os.clock() - init
minetest.log("action", string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))

View file

@ -2,10 +2,6 @@ local S = minetest.get_translator("mcl_flowers")
local mod_screwdriver = minetest.get_modpath("screwdriver") ~= nil
-- Minetest 0.4 mod: default
-- See README.txt for licensing and other information.
local init = os.clock()
-- Simple flower template
local smallflowerlongdesc = S("This is a small flower. Small flowers are mainly used for dye production and can also be potted.")
local plant_usage_help = S("It can only be placed on a block on which it would also survive.")
@ -439,7 +435,3 @@ minetest.register_node("mcl_flowers:waterlily", {
-- Legacy support
minetest.register_alias("mcl_core:tallgrass", "mcl_flowers:tallgrass")
-- Show loading time
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))

View file

@ -569,7 +569,3 @@ minetest.register_lbm({
update_sign(pos)
end,
})
if minetest.settings:get_bool("log_mods") then
minetest.log("action", "[mcl_signs] loaded")
end