1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2026-01-02 12:15:22 +01:00

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,4 +1,4 @@
local S = minetest.get_translator("homedecor_foyer")
local S = core.get_translator("homedecor_foyer")
homedecor.register("coatrack_wallmount", {
tiles = { homedecor.plain_wood },
@@ -49,7 +49,7 @@ homedecor.register("coat_tree", {
type = "fixed",
fixed = { -0.4, -0.5, -0.4, 0.4, 1.5, 0.4 }
},
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
on_rotate = core.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
crafts = {
{
recipe = {