Add 0.4.x compatibility

This commit is contained in:
philipmi 2022-03-02 12:06:21 +01:00
parent ab511754f7
commit c3822aff6b
2 changed files with 16 additions and 1 deletions

15
depends.txt Normal file
View file

@ -0,0 +1,15 @@
default?
ethereal?
cacaotree?
cherrytree?
chestnuttree?
clementinetree?
ebony?
lemontree?
oak?
palm?
plumtree?
pomegranate?
moretrees?
farming_plus?
multibiomegen?

View file

@ -51,7 +51,7 @@ local add_fruit_regrowable = function(fruit, node, leaves)
end
-- 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
minetest.override_item(node, {
groups = groups, -- make sure (moretrees) fruits don't fall on dig