forked from mtcontrib/mobs_animal
fix dye'd sheep protection (thx Niklp)
This commit is contained in:
parent
848622ccde
commit
1799b4c217
@ -201,6 +201,8 @@ for _, col in ipairs(all_colours) do
|
|||||||
|
|
||||||
ent.owner = name
|
ent.owner = name
|
||||||
ent.tamed = true
|
ent.tamed = true
|
||||||
|
ent.protected = self.protected
|
||||||
|
ent.fire_damage = self.fire_damage
|
||||||
|
|
||||||
-- take item
|
-- take item
|
||||||
if not mobs.is_creative(clicker:get_player_name()) then
|
if not mobs.is_creative(clicker:get_player_name()) then
|
||||||
|
Loading…
Reference in New Issue
Block a user