diff options
author | cheapie <no-email-for-you@example.com> | 2018-11-22 15:36:24 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2018-11-22 15:36:24 -0600 |
commit | fbd8e6b79c1a953fca227630f2e5cf77eaa3c9d8 (patch) | |
tree | c8a95bc9beca4fb2530b909a4320243eb64d120a | |
parent | 77d7773bbc33990e94448f8b9850f69642725b1e (diff) | |
download | icemachine-fbd8e6b79c1a953fca227630f2e5cf77eaa3c9d8.tar icemachine-fbd8e6b79c1a953fca227630f2e5cf77eaa3c9d8.tar.gz icemachine-fbd8e6b79c1a953fca227630f2e5cf77eaa3c9d8.tar.bz2 icemachine-fbd8e6b79c1a953fca227630f2e5cf77eaa3c9d8.tar.xz icemachine-fbd8e6b79c1a953fca227630f2e5cf77eaa3c9d8.zip |
Fix pipeworks detection
-rw-r--r-- | depends.txt | 1 | ||||
-rw-r--r-- | init.lua | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/depends.txt b/depends.txt index fa37cc0..a11f5e5 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,3 @@ default technic? +pipeworks? @@ -77,8 +77,8 @@ minetest.register_node("icemachine:machine",{ "default_steel_block.png^icemachine_machine_front.png", }, pipe_connections = {left=1,right=1,front=1,back=1,left_param2=3,right_param2=1,front_param2=2,back_param2=0,}, - after_place_node = (pipeworks and pipeworks.scan_for_pipe_objects), - after_dig_node = (pipeworks and pipeworks.scan_for_pipe_objects), + after_place_node = (pipeworks_installed and pipeworks.scan_for_pipe_objects), + after_dig_node = (pipeworks_installed and pipeworks.scan_for_pipe_objects), on_construct = function(pos) local meta = minetest.get_meta(pos) update_status(pos,meta) |