mirror of
https://codeberg.org/tenplus1/mob_horse.git
synced 2025-12-30 17:35:31 +01:00
set 'can_spawn_protect' to true in mobs:register_egg
This commit is contained in:
4
init.lua
4
init.lua
@@ -246,9 +246,9 @@ else
|
|||||||
})
|
})
|
||||||
end
|
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
|
-- steel horseshoes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user