summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveMonster.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-11-23 23:57:59 +0100
committerworktycho <work.tycho@gmail.com>2015-11-23 23:57:59 +0100
commit2d408e864706a4dd8d7c227edefd281f6a627895 (patch)
tree5ebe9e808e82c22a427429881526fb0ce390deb4 /src/Mobs/PassiveMonster.h
parentFixed display of helpmessage (diff)
parentchange from single followable item to multiple (diff)
downloadcuberite-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/PassiveMonster.h')
-rw-r--r--src/Mobs/PassiveMonster.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Mobs/PassiveMonster.h b/src/Mobs/PassiveMonster.h
index 7f20c3092..a7e574a1d 100644
--- a/src/Mobs/PassiveMonster.h
+++ b/src/Mobs/PassiveMonster.h
@@ -20,9 +20,8 @@ public:
/** When hit by someone, run away */
virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override;
- /** Returns the item that the animal of this class follows when a player holds it in hand
- Return an empty item not to follow (default). */
- virtual const cItem GetFollowedItem(void) const { return cItem(); }
+ /** Returns the items that the animal of this class follows when a player holds it in hand. */
+ virtual void GetFollowedItems(cItems & a_Items) { }
} ;