use nondeprecated namespace - minetest to core (#98)

This commit is contained in:
The4codeblocks
2026-01-01 13:49:26 -05:00
committed by GitHub
parent 9e3ad02c3e
commit bad710b094
53 changed files with 1160 additions and 1160 deletions

View File

@@ -1,7 +1,7 @@
-- Home Decor API/functions, and common textures and models
-- by VanessaE
local modpath = minetest.get_modpath("homedecor_common")
local modpath = core.get_modpath("homedecor_common")
homedecor = {}
homedecor.modpath = modpath
@@ -63,6 +63,6 @@ dofile(modpath.."/registration.lua")
dofile(modpath.."/water_particles.lua")
dofile(modpath.."/crafts.lua")
if minetest.settings:get_bool("log_mod") then
minetest.log("action", "[HomeDecor API] Loaded!")
if core.settings:get_bool("log_mod") then
core.log("action", "[HomeDecor API] Loaded!")
end