Skip to content

Commit

Permalink
Changed some logs 🔊
Browse files Browse the repository at this point in the history
  • Loading branch information
ssdaniel24 authored and weqqr committed Aug 22, 2022
1 parent 9a2034f commit feb0976
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mods/_various/hud_modpack/hudbars/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function hb.register_hudbar(identifier, text_color, label, textures, default_sta
local pos, offset
local index = math.floor(hb.get_hudbar_position_index(identifier))

minetest.log("action", "hb.register_hudbar: "..tostring(identifier))
minetest.log("info", "hb.register_hudbar: "..tostring(identifier))

hb.registered_slots[index] = true

Expand Down
4 changes: 2 additions & 2 deletions mods/lord/lord_spawn/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ end

function spawn.check_conf(config_setting)
if not minetest.settings:get(config_setting) then
minetest.log('action', "The \"" .. config_setting .. "\" setting is not set")
minetest.log('warning', "The \"" .. config_setting .. "\" setting is not set")
return false
end

if not spawn.pos_from_conf(config_setting) then
minetest.log('action', "The " .. config_setting .. " setting is invalid: \""..
minetest.log('warning', "The " .. config_setting .. " setting is invalid: \""..
core.setting_get(config_setting).."\"")
return false
end
Expand Down
4 changes: 3 additions & 1 deletion mods/lord/server_message/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ minetest.register_globalstep(function(DTime)
end
end)

minetest.log("action", minetest.get_current_modname().." mod LOADED")
if minetest.settings:get_bool("msg_loading_mods") then
minetest.log("action", minetest.get_current_modname() .. " mod LOADED")
end

0 comments on commit feb0976

Please sign in to comment.