summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveMonster.h
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2014-01-29 19:15:26 +0100
committertonibm19 <tonibm19@gmail.com>2014-01-29 19:15:26 +0100
commit1c1832b6ce08de71e6a46187420d91eacb18d16e (patch)
tree19e8f8dc0cd0fb0dff42e041d6ebbda8f99caf9b /src/Mobs/PassiveMonster.h
parentFixed sheep (diff)
downloadcuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.gz
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.bz2
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.lz
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.xz
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.zst
cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/PassiveMonster.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/PassiveMonster.h b/src/Mobs/PassiveMonster.h
index 14a6be6b1..7da5d71bc 100644
--- a/src/Mobs/PassiveMonster.h
+++ b/src/Mobs/PassiveMonster.h
@@ -20,6 +20,8 @@ public:
/// When hit by someone, run away
virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
+ virtual const cItem GetFollowedItem(void) const { return cItem(); }
+
} ;