From 21e044478e259efa202dce2c2e82afc342f07b90 Mon Sep 17 00:00:00 2001
From: SmallJoker <mk939@ymail.com>
Date: Sat, 26 Nov 2022 23:25:33 +0100
Subject: [PATCH] Fix battery box charging issues caused by out of sync functions

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

diff --git a/technic/tools/init.lua b/technic/tools/init.lua
index e1db7ed..5e0aa02 100644
--- a/technic/tools/init.lua
+++ b/technic/tools/init.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