mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +01:00
support for v0.4.16 and v0.4.17.1
This commit is contained in:
parent
1fda93d459
commit
d020a8847e
@ -121,7 +121,7 @@ minetest.register_node("tubelib: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