1
0
Fork 0

add help text to mcl_farming

This commit is contained in:
AFCMS 2021-03-12 00:48:53 +01:00
parent 8c87014a01
commit 06e8e972cc
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ function mcl_farming:add_plant(identifier, full_grown, names, interval, chance)
mcl_farming.plant_lists[identifier].names = names mcl_farming.plant_lists[identifier].names = names
mcl_farming.plant_lists[identifier].interval = interval mcl_farming.plant_lists[identifier].interval = interval
mcl_farming.plant_lists[identifier].chance = chance mcl_farming.plant_lists[identifier].chance = chance
plant_lists = mcl_farming.plant_lists plant_lists = mcl_farming.plant_lists --provide local copy of plant lists (performances)
minetest.register_abm({ minetest.register_abm({
label = string.format("Farming plant growth (%s)", identifier), label = string.format("Farming plant growth (%s)", identifier),
nodenames = names, nodenames = names,