diff options
author | worktycho <work.tycho@gmail.com> | 2015-11-23 23:57:59 +0100 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-11-23 23:57:59 +0100 |
commit | 2d408e864706a4dd8d7c227edefd281f6a627895 (patch) | |
tree | 5ebe9e808e82c22a427429881526fb0ce390deb4 /src/Mobs/Mooshroom.h | |
parent | Fixed display of helpmessage (diff) | |
parent | change from single followable item to multiple (diff) | |
download | cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.gz cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.bz2 cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.lz cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.xz cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.zst cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.zip |
Diffstat (limited to 'src/Mobs/Mooshroom.h')
-rw-r--r-- | src/Mobs/Mooshroom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Mobs/Mooshroom.h b/src/Mobs/Mooshroom.h index 754725c92..61cbfc083 100644 --- a/src/Mobs/Mooshroom.h +++ b/src/Mobs/Mooshroom.h @@ -20,7 +20,10 @@ public: virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; virtual void OnRightClicked(cPlayer & a_Player) override; - virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_WHEAT); } + virtual void GetFollowedItems(cItems & a_Items) override + { + a_Items.Add(E_ITEM_WHEAT); + } } ; |