Skip to content

Commit

Permalink
screwdriver depend not mesecons mat
Browse files Browse the repository at this point in the history
  • Loading branch information
nonfreegithub committed Dec 24, 2023
1 parent d18fd30 commit dea0918
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions technic/tools/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
local path = technic.modpath.."/tools"
local mesecons_materials = minetest.get_modpath("mesecons_materials")

local function enabled(name)
return technic.config:get_bool("enable_" .. name)
Expand All @@ -11,7 +10,7 @@ if enabled("flashlight") then dofile(path.."/flashlight.lua") end
if enabled("cans") then dofile(path.."/cans.lua") end
if enabled("chainsaw") then dofile(path.."/chainsaw.lua") end
if enabled("tree_tap") then dofile(path.."/tree_tap.lua") end
if enabled("sonic_screwdriver") and mesecons_materials then dofile(path.."/sonic_screwdriver.lua") end
if enabled("sonic_screwdriver") then dofile(path.."/sonic_screwdriver.lua") end
if enabled("prospector") then dofile(path.."/prospector.lua") end
if enabled("vacuum") then dofile(path.."/vacuum.lua") end
if enabled("multimeter") then dofile(path.."/multimeter.lua") end
Expand Down

0 comments on commit dea0918

Please sign in to comment.