forked from VoxeLibre/VoxeLibre
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