Make sure bred pig and sheep stay tamed and owned

This commit is contained in:
Wuzzy 2018-05-31 17:32:13 +02:00
parent c55714ea0c
commit 9afe5da7b4
2 changed files with 7 additions and 1 deletions

View file

@ -248,6 +248,8 @@ mobs:register_mob("mobs_mc:sheep", {
end
child:set_properties({textures = ent_c.base_texture})
ent_c.initial_color_set = true
ent_c.tamed = true
ent_c.owner = parent1.owner
return false
end
end,