Skip to content

Commit 9717f58

Browse files
authored
Alias technic:brass_block CNC nodes (#234)
1 parent c6433a9 commit 9717f58

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

technic_cnc/materials/init.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@ for _, mod in pairs(optional_mods) do
1616
dofile(path .. mod .. ".lua")
1717
end
1818
end
19+
20+
local function alias(old, new)
21+
for _,shape in pairs(technic_cnc.programs) do
22+
minetest.register_alias(old .. "_" .. shape.suffix, new .. "_" .. shape.suffix)
23+
end
24+
end
25+
26+
alias("technic:brass_block", "basic_materials:brass_block")

0 commit comments

Comments
 (0)