1
0
mirror of https://codeberg.org/tenplus1/mob_horse.git synced 2025-12-06 23:15:27 +01:00

set 'can_spawn_protect' to true in mobs:register_egg

This commit is contained in:
tenplus1
2025-12-05 17:35:45 +00:00
parent fd408d6d90
commit bfbbefe4b6

View File

@@ -246,9 +246,9 @@ else
})
end
-- spawn egg
-- spawn egg (true at end means horse can be placed in protected areas)
mobs:register_egg("mob_horse:horse", S("Horse"), "wool_brown.png", 1)
mobs:register_egg("mob_horse:horse", S("Horse"), "wool_brown.png", 1, nil, true)
-- steel horseshoes