mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
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