mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
set tamed
This commit is contained in:
parent
4920ef0fd5
commit
c60002b18d
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ local wolf = {
|
|||
dog:set_yaw(yaw)
|
||||
ent = dog:get_luaentity()
|
||||
ent.owner = clicker:get_player_name()
|
||||
ent.tamed = true
|
||||
-- cornfirm taming
|
||||
minetest.sound_play("mobs_mc_wolf_bark", {object=dog, max_hear_distance=16}, true)
|
||||
-- Replace wolf
|
||||
|
|
Loading…
Reference in a new issue