forked from minetest-mods/mesecons
flexibility and because it was never inteded to be OOP in the first place. mesecon.receptor_on and mesecon.receptor_off are provided by wrappers (mesecon:receptor_on/off) for compatibility, but will be removed. Mod programmers that use mesecons: Please update! Also, fix microcontroller polluting the global namespace and remove some deprecated stuff.
8 lines
166 B
Lua
8 lines
166 B
Lua
function mesecon:receptor_on(pos, rules)
|
|
mesecon.receptor_on(pos, rules)
|
|
end
|
|
|
|
function mesecon:receptor_off(pos, rules)
|
|
mesecon.receptor_off(pos, rules)
|
|
end
|