1
0
鏡像自 https://github.com/minetest-mods/mesecons.git 已同步 2025-12-23 17:45:29 +01:00

Use minetest.swap_node() instead of mesecons' version, Minor code changes

here and there to facilitate this.
此提交包含在:
Vanessa Ezekowitz
2013-11-30 20:20:01 -05:00
父節點 669e3d0880
當前提交 f46bc329de
共有 15 個檔案被更改,包括 40 行新增44 行删除

查看文件

@@ -62,7 +62,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_on", {
state = mesecon.state.on
}},
on_punch = function(pos, node, puncher)
mesecon:swap_node(pos, "mesecons_blinkyplant:blinky_plant")
minetest.swap_node(pos, {name = "mesecons_blinkyplant:blinky_plant"})
mesecon:receptor_off(pos)
end
})