Add 0.4.x compatibility
This commit is contained in:
parent
ab511754f7
commit
c3822aff6b
2 changed files with 16 additions and 1 deletions
15
depends.txt
Normal file
15
depends.txt
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
default?
|
||||||
|
ethereal?
|
||||||
|
cacaotree?
|
||||||
|
cherrytree?
|
||||||
|
chestnuttree?
|
||||||
|
clementinetree?
|
||||||
|
ebony?
|
||||||
|
lemontree?
|
||||||
|
oak?
|
||||||
|
palm?
|
||||||
|
plumtree?
|
||||||
|
pomegranate?
|
||||||
|
moretrees?
|
||||||
|
farming_plus?
|
||||||
|
multibiomegen?
|
2
init.lua
2
init.lua
|
@ -51,7 +51,7 @@ local add_fruit_regrowable = function(fruit, node, leaves)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- wait until mods are loaded to ensure that other mods do not override overrides
|
-- wait until mods are loaded to ensure that other mods do not override overrides
|
||||||
minetest.register_on_mods_loaded(function()
|
minetest.after(0.1, function()
|
||||||
-- override fruit
|
-- override fruit
|
||||||
minetest.override_item(node, {
|
minetest.override_item(node, {
|
||||||
groups = groups, -- make sure (moretrees) fruits don't fall on dig
|
groups = groups, -- make sure (moretrees) fruits don't fall on dig
|
||||||
|
|
Loading…
Reference in a new issue