mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Changed calling function.
This commit is contained in:
parent
4b777b1d9c
commit
de7696ce69
@ -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 New Issue
Block a user