1
0
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:
tenplus1 2022-11-16 09:50:57 +00:00
parent 848622ccde
commit 1799b4c217

View File

@ -201,6 +201,8 @@ for _, col in ipairs(all_colours) do
ent.owner = name
ent.tamed = true
ent.protected = self.protected
ent.fire_damage = self.fire_damage
-- take item
if not mobs.is_creative(clicker:get_player_name()) then