summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Sheep.h
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2020-10-09 22:49:25 +0200
committerGitHub <noreply@github.com>2020-10-09 22:49:25 +0200
commit32ee1708a24836b26cd700eb42ad8264a3ecae83 (patch)
treebdd23de04c68c9be7c512ba37ce8968d6581b810 /src/Mobs/Sheep.h
parentadded check if the digger is a nullptr (#4981) (diff)
downloadcuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar
cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.gz
cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.bz2
cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.lz
cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.xz
cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.tar.zst
cuberite-32ee1708a24836b26cd700eb42ad8264a3ecae83.zip
Diffstat (limited to 'src/Mobs/Sheep.h')
-rw-r--r--src/Mobs/Sheep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Sheep.h b/src/Mobs/Sheep.h
index c0a83f3ec..79f94731c 100644
--- a/src/Mobs/Sheep.h
+++ b/src/Mobs/Sheep.h
@@ -25,7 +25,7 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual void OnRightClicked(cPlayer & a_Player) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
- virtual void InheritFromParents(cPassiveMonster * a_Parent1, cPassiveMonster * a_Parent2) override;
+ virtual void InheritFromParents(cMonster * a_Parent1, cMonster * a_Parent2) override;
virtual void GetFollowedItems(cItems & a_Items) override
{