diff --git a/mods/ENTITIES/mcl_mobs/init.lua b/mods/ENTITIES/mcl_mobs/init.lua index 74e6edbec..d8f8491d5 100644 --- a/mods/ENTITIES/mcl_mobs/init.lua +++ b/mods/ENTITIES/mcl_mobs/init.lua @@ -615,7 +615,7 @@ function mcl_mobs.register_egg(mob_id, desc, background_color, overlay_color, ad pos.y = pos.y - 1 local mob = mcl_mobs.spawn(pos, mob_name) - if not object then + if not mob then pos.y = pos.y + 1 mob = mcl_mobs.spawn(pos, mob_name) if not mob then return end