diff options
Diffstat (limited to 'mesecons_blinkyplant/init.lua')
-rw-r--r-- | mesecons_blinkyplant/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua index edaa547..a7d8301 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -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 }) |