diff --git a/.gitignore b/.gitignore index 6fd0a37..1809889 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,3 @@ luac.out *.i*86 *.x86_64 *.hex - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4c6d6f1..c488f2d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,4 +5,3 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - id: mixed-line-ending - diff --git a/init.lua b/init.lua index 9192a98..3ad2c01 100644 --- a/init.lua +++ b/init.lua @@ -16,6 +16,7 @@ local use_farming = minetest.get_modpath("farming") local use_farming_redo = use_farming and (farming.mod == "redo") or false -if use_farming and (not use_farming_redo) and toolranks_extras.settings.enable_farming_tools then +if use_farming and (not use_farming_redo) + and toolranks_extras.settings.enable_farming_tools then dofile(MP.."/hoe.lua") end