mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
save home coords in cat entity as well
This commit is contained in:
parent
2337e72a23
commit
6b9cb0062d
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ local function spawn_witch(p1,p2)
|
||||||
witch.can_despawn = false
|
witch.can_despawn = false
|
||||||
cat.object:set_properties({textures = {"mobs_mc_cat_black.png"}})
|
cat.object:set_properties({textures = {"mobs_mc_cat_black.png"}})
|
||||||
cat.owner = "!witch!" --so it's not claimable by player
|
cat.owner = "!witch!" --so it's not claimable by player
|
||||||
|
cat._home = c
|
||||||
cat.can_despawn = false
|
cat.can_despawn = false
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue