mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
Changed calling function.
This commit is contained in:
parent
4b777b1d9c
commit
de7696ce69
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ function mcl_hamburger.register_burger_craft(cooked_meat, use_alt)
|
||||||
minetest.registered_entities["mobs_mc:villager"].nofollow = false
|
minetest.registered_entities["mobs_mc:villager"].nofollow = false
|
||||||
|
|
||||||
-- register the item and crafting recipe.
|
-- register the item and crafting recipe.
|
||||||
mcl_hamburger.register_burger_craft( "", "mcl_mobitems:cooked_beef")
|
mcl_hamburger.register_burger_craft("mcl_mobitems:cooked_beef")
|
||||||
|
|
||||||
-- add it to the follow items.
|
-- add it to the follow items.
|
||||||
table.insert(minetest.registered_entities["mobs_mc:villager"].follow,"mcl_hamburger:hamburger")
|
table.insert(minetest.registered_entities["mobs_mc:villager"].follow,"mcl_hamburger:hamburger")
|
||||||
|
|
Loading…
Reference in a new issue