1
0
mirror of https://github.com/Sokomine/cottages.git synced 2025-07-10 03:40:23 +02:00

create api for updating machine metadata

This commit is contained in:
flux
2022-10-10 13:44:21 -07:00
parent 3407c0b6c5
commit 89ae56b882
2 changed files with 76 additions and 86 deletions

View File

@ -14,5 +14,7 @@ minetest.register_lbm({
node.name = string.gsub(node.name, "_lying", "")
node.param2 = rotations[node.param2 + 1] or 0
minetest.swap_node(pos, node)
cottages.api.update(pos, node)
end
})