mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2025-10-24 05:15:32 +02:00
Added compatibility with mobs already spawned in world
This commit is contained in:
3
cow.lua
3
cow.lua
@@ -98,7 +98,8 @@ mobs:register_spawn("mobs_animal:cow",
|
||||
|
||||
mobs:register_egg("mobs_animal:cow", "Cow", "default_grass.png", 1)
|
||||
|
||||
minetest.register_alias("mobs:cow", "mobs_animal:cow")
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:cow", "mobs_animal:cow")
|
||||
|
||||
-- bucket of milk
|
||||
minetest.register_craftitem(":mobs:bucket_milk", {
|
||||
|
||||
Reference in New Issue
Block a user