1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2026-01-02 21:05:19 +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,6 +1,6 @@
-- This file adds fences of various types
local S = minetest.get_translator("homedecor_fences")
local S = core.get_translator("homedecor_fences")
local brass = {
output = "homedecor:fence_brass 6",
@@ -465,7 +465,7 @@ homedecor.register("fence_wrought_iron_2_corner", {
})
-- insert the old wood signs-on-metal-fences into signs_lib's conversion LBM
if minetest.get_modpath("signs_lib") and minetest.get_modpath("default") then
if core.get_modpath("signs_lib") and core.get_modpath("default") then
-- FIXME: export a function in signs_lib API to allow signs_lib to be read only in .luacheckrc
table.insert(signs_lib.old_fenceposts_with_signs, "homedecor:fence_brass_with_sign")
signs_lib.old_fenceposts["homedecor:fence_brass_with_sign"] = "homedecor:fence_brass"