mirror of
https://github.com/Sokomine/cottages.git
synced 2025-10-28 02:55:17 +01:00
create api for updating machine metadata
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user