From 0e10e8360d6fa5aa6cbb86870b6244e8818d7dc8 Mon Sep 17 00:00:00 2001
From: coil <51716565+coil0@users.noreply.github.com>
Date: Sun, 15 Mar 2020 17:27:36 +0100
Subject: [PATCH] Fix crash when placing cable plates (#534)

---
 technic/tools/init.lua |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/technic/tools/init.lua b/technic/tools/init.lua
index 6bb551b..5e0aa02 100644
--- a/technic/tools/init.lua
+++ b/technic/tools/init.lua
@@ -4,7 +4,7 @@
 	dofile(path.."/mining_drill.lua")
 end
 if technic.config:get_bool("enable_mining_laser") then
-	dofile(path.."/mining_laser_mk1.lua")
+	dofile(path.."/mining_lasers.lua")
 end
 if technic.config:get_bool("enable_flashlight") then
 	dofile(path.."/flashlight.lua")
@@ -13,4 +13,11 @@
 dofile(path.."/chainsaw.lua")
 dofile(path.."/tree_tap.lua")
 dofile(path.."/sonic_screwdriver.lua")
+dofile(path.."/prospector.lua")
+dofile(path.."/vacuum.lua")
+
+if minetest.get_modpath("screwdriver") then
+	-- compatibility alias
+	minetest.register_alias("technic:screwdriver", "screwdriver:screwdriver")
+end
 

--
Gitblit v1.8.0