diff options
author | tonibm19 <tonibm19@gmail.com> | 2014-01-29 20:02:41 +0100 |
---|---|---|
committer | tonibm19 <tonibm19@gmail.com> | 2014-01-29 20:02:41 +0100 |
commit | e9c1d1ea9c79d9a57d48b625d9a31604e927609c (patch) | |
tree | b7651ce653cde05c25de99532dfbd5eab3ee0a2a /src/Mobs/PassiveMonster.h | |
parent | Rewritten code. (diff) | |
download | cuberite-e9c1d1ea9c79d9a57d48b625d9a31604e927609c.tar cuberite-e9c1d1ea9c79d9a57d48b625d9a31604e927609c.tar.gz cuberite-e9c1d1ea9c79d9a57d48b625d9a31604e927609c.tar.bz2 cuberite-e9c1d1ea9c79d9a57d48b625d9a31604e927609c.tar.lz cuberite-e9c1d1ea9c79d9a57d48b625d9a31604e927609c.tar.xz cuberite-e9c1d1ea9c79d9a57d48b625d9a31604e927609c.tar.zst cuberite-e9c1d1ea9c79d9a57d48b625d9a31604e927609c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/PassiveMonster.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/PassiveMonster.h b/src/Mobs/PassiveMonster.h index 7da5d71bc..0b3c155da 100644 --- a/src/Mobs/PassiveMonster.h +++ b/src/Mobs/PassiveMonster.h @@ -19,7 +19,8 @@ public: /// When hit by someone, run away virtual void 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(); } } ; |