diff options
-rw-r--r-- | devices.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices.lua b/devices.lua index 52f3002..e4c5f43 100644 --- a/devices.lua +++ b/devices.lua @@ -3,7 +3,7 @@ local pipereceptor_on = nil local pipereceptor_off = nil -if mesecon then +if minetest.get_modpath("mesecons") then pipereceptor_on = { receptor = { state = mesecon.state.on, |