set tamed

This commit is contained in:
Sumyjkl 2022-07-20 14:02:10 +10:00 committed by cora
parent 4920ef0fd5
commit c60002b18d

@ -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