add logging pr ssx suggestion
This commit is contained in:
parent
ee77cf7775
commit
fc84785ef4
|
@ -1,6 +1,12 @@
|
|||
-- Node definitions for Homedecor doors
|
||||
|
||||
if not minetest.get_modpath("doors") or not minetest.get_modpath("default") then return end
|
||||
if not minetest.get_modpath("doors") or not minetest.get_modpath("default") then
|
||||
minetest.log(
|
||||
"action",
|
||||
"[homedecor_doors_and_gates]: minetest game not detected, disabling as this mod is minetest game only at this time"
|
||||
)
|
||||
return
|
||||
end
|
||||
|
||||
local S = minetest.get_translator("homedecor_doors_and_gates")
|
||||
local mesecons_mp = minetest.get_modpath("mesecons")
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
if not minetest.get_modpath("player_api") then return end
|
||||
if not minetest.get_modpath("player_api") then
|
||||
minetest.log(
|
||||
"action",
|
||||
"[homedecor_wardrobe]: minetest game not detected, disabling as this mod is minetest game only at this time"
|
||||
)
|
||||
return
|
||||
end
|
||||
|
||||
local S = minetest.get_translator("homedecor_wardrobe")
|
||||
local modpath = minetest.get_modpath("homedecor_wardrobe")
|
||||
|
|
Loading…
Reference in New Issue