Skip to content

Commit

Permalink
sonic screwdriver conf revert
Browse files Browse the repository at this point in the history
  • Loading branch information
nonfreegithub committed Dec 23, 2023
1 parent a9cf18f commit c3a7434
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,6 +1,5 @@
local path = technic.modpath.."/tools"
local mesecons_materials = minetest.get_modpath("mesecons_materials")
local has_mcl = minetest.get_modpath("mcl_core")

local function enabled(name)
return technic.config:get_bool("enable_" .. name)
Expand All @@ -12,7 +11,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 and not has_mcl then dofile(path.."/sonic_screwdriver.lua") end
if enabled("sonic_screwdriver") and mesecons_materials 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 c3a7434

Please sign in to comment.