summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Sheep.cpp
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-04-15 23:15:01 +0200
committerAlexander Harkness <me@bearbin.net>2020-04-16 20:03:51 +0200
commitf931590bf048cd43bb85e847f1874c768ccb653c (patch)
tree1209813e3df0bb4a4388c0f755cadb186bb5f388 /src/Mobs/Sheep.cpp
parentTrapdoor can be placed anywhere since 1.9 (diff)
downloadcuberite-f931590bf048cd43bb85e847f1874c768ccb653c.tar
cuberite-f931590bf048cd43bb85e847f1874c768ccb653c.tar.gz
cuberite-f931590bf048cd43bb85e847f1874c768ccb653c.tar.bz2
cuberite-f931590bf048cd43bb85e847f1874c768ccb653c.tar.lz
cuberite-f931590bf048cd43bb85e847f1874c768ccb653c.tar.xz
cuberite-f931590bf048cd43bb85e847f1874c768ccb653c.tar.zst
cuberite-f931590bf048cd43bb85e847f1874c768ccb653c.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Sheep.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Mobs/Sheep.cpp b/src/Mobs/Sheep.cpp
index 34019cfc6..02ca21fbe 100644
--- a/src/Mobs/Sheep.cpp
+++ b/src/Mobs/Sheep.cpp
@@ -167,12 +167,10 @@ void cSheep::InheritFromParents(cPassiveMonster * a_Parent1, cPassiveMonster * a
)
{
SetFurColor(ColorInheritance[i].Child);
- m_World->BroadcastEntityMetadata(*this);
return;
}
}
SetFurColor(GetRandomProvider().RandBool() ? Parent1->GetFurColor() : Parent2->GetFurColor());
- m_World->BroadcastEntityMetadata(*this);
}