summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 6964abc..acf867e 100644
--- a/init.lua
+++ b/init.lua
@@ -120,7 +120,11 @@ if pipeworks.enable_pipe_devices then dofile(pipeworks.modpath.."/devices.lua")
if pipeworks.enable_redefines then dofile(pipeworks.modpath.."/compat.lua") end
if pipeworks.enable_autocrafter then dofile(pipeworks.modpath.."/autocrafter.lua") end
if pipeworks.enable_deployer then dofile(pipeworks.modpath.."/deployer.lua") end
-if pipeworks.enable_node_breaker then dofile(pipeworks.modpath.."/node_breaker.lua") end
+
+if pipeworks.enable_node_breaker then
+ dofile(pipeworks.modpath.."/node_breaker.lua")
+ dofile(pipeworks.modpath.."/legacy.lua")
+end
minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")