mirror of
https://github.com/joe7575/techpack.git
synced 2024-12-25 15:14:31 +01:00
support for v0.4.16 and v0.4.17.1
This commit is contained in:
parent
d020a8847e
commit
e376b77c43
@ -129,7 +129,7 @@ minetest.register_node("smartline:button", {
|
||||
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
local meta = minetest.get_meta(pos)
|
||||
if meta:get_string("numbers") ~= "" then
|
||||
if meta:get_string("numbers") ~= "" and meta:get_string("numbers") ~= nil then
|
||||
meta:set_string("clicker_name", clicker:get_player_name())
|
||||
switch_on(pos, node)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user