mirror of
https://github.com/louisroyer/minetest-toolranks-extras.git
synced 2024-12-30 09:37:36 +01:00
Pass travis build
This commit is contained in:
parent
0d84703fa8
commit
628429ee31
1
.gitignore
vendored
1
.gitignore
vendored
@ -38,4 +38,3 @@ luac.out
|
|||||||
*.i*86
|
*.i*86
|
||||||
*.x86_64
|
*.x86_64
|
||||||
*.hex
|
*.hex
|
||||||
|
|
||||||
|
@ -5,4 +5,3 @@ repos:
|
|||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
|
|
||||||
|
3
init.lua
3
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
|
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")
|
dofile(MP.."/hoe.lua")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user