diff options
Diffstat (limited to 'mesecons_blinkyplant')
-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 3bad6a7..80b6b7e 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -33,7 +33,7 @@ mesecon.register_node("mesecons_blinkyplant:blinky_plant", { }, on_timer = on_timer, on_rightclick = function(pos, node, clicker) - if minetest.is_protected(pos, clicker and clicker:get_player_name()) then + if minetest.is_protected(pos, clicker and clicker:get_player_name() or "") then return end |