diff --git a/mods/cme/chicken/egg.lua b/mods/cme/chicken/egg.lua index 79dd2c4..170771d 100644 --- a/mods/cme/chicken/egg.lua +++ b/mods/cme/chicken/egg.lua @@ -74,7 +74,7 @@ core.register_craftitem(":creatures:egg", { core.register_craftitem(":creatures:fried_egg", { description = "Fried Egg", inventory_image = "creatures_fried_egg.png", - on_use = minetest.item_eat(2) + on_use = core.item_eat(2) }) core.register_craft({