diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-11-14 16:42:26 +0100 |
---|---|---|
committer | Gargaj <gargaj@conspiracy.hu> | 2015-11-23 22:20:31 +0100 |
commit | 853e6e6882969f24547d782d42a3c19df4395064 (patch) | |
tree | 5ebe9e808e82c22a427429881526fb0ce390deb4 /src/Mobs/Chicken.h | |
parent | Fixed display of helpmessage (diff) | |
download | cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.gz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.bz2 cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.lz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.xz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.zst cuberite-853e6e6882969f24547d782d42a3c19df4395064.zip |
Diffstat (limited to 'src/Mobs/Chicken.h')
-rw-r--r-- | src/Mobs/Chicken.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Mobs/Chicken.h b/src/Mobs/Chicken.h index 05cf0ed39..ca70657b4 100644 --- a/src/Mobs/Chicken.h +++ b/src/Mobs/Chicken.h @@ -19,7 +19,10 @@ public: virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; - virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_SEEDS); } + virtual void GetFollowedItems(cItems & a_Items) override + { + a_Items.Add(E_ITEM_SEEDS); + } virtual void HandleFalling(void) override; |