forked from mtcontrib/x_enchanting
3 Add support for item_drop mod
This commit is contained in:
commit
01703cb0a3
@ -178,6 +178,7 @@ end
|
||||
## Optional Dependencies
|
||||
|
||||
- xdecor (adjusts conflicting recipe)
|
||||
- item_drop (make sure fortune will execute before item_drop mod overrides `handle_node_drops`)
|
||||
|
||||
## License:
|
||||
|
||||
|
6
api.lua
6
api.lua
@ -309,9 +309,9 @@ end
|
||||
---Find element v of t satisfying f(v)
|
||||
local function tableFind(t, f)
|
||||
for _, v in ipairs(t) do
|
||||
if f(v) then
|
||||
return v
|
||||
end
|
||||
if f(v) then
|
||||
return v
|
||||
end
|
||||
end
|
||||
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user