forked from mtcontrib/plantlife_modpack
cleanup codebase (#46)
* cleanup codebase * fix typo * add nil checks to on_place * nuke all mod loaded statements
This commit is contained in:
@ -33,9 +33,12 @@ end
|
||||
|
||||
-- override farming_plus strawberry and add food_ group
|
||||
if minetest.get_modpath("farming_plus") then
|
||||
local groups = table.copy(minetest.registered_items["farming_plus:strawberry_item"])
|
||||
groups["food_strawberry"] = 1
|
||||
groups["food_berry"] = 1
|
||||
|
||||
minetest.override_item("farming_plus:strawberry_item", {
|
||||
groups = {food_strawberry = 1, food_berry = 1, flammable = 2},
|
||||
groups = groups,
|
||||
})
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user