summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Cow.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-01 21:55:17 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-01 21:55:17 +0200
commitf8b9400713cbb96f61c1515132aa6af99c73d600 (patch)
tree7ec1ca42f4d23426b103ec89169c4dd57f7c6194 /src/Mobs/Cow.cpp
parentmerge (diff)
downloadcuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar
cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.gz
cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.bz2
cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.lz
cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.xz
cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.tar.zst
cuberite-f8b9400713cbb96f61c1515132aa6af99c73d600.zip
Diffstat (limited to 'src/Mobs/Cow.cpp')
-rw-r--r--src/Mobs/Cow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Cow.cpp b/src/Mobs/Cow.cpp
index 3d94986bb..6c142b04b 100644
--- a/src/Mobs/Cow.cpp
+++ b/src/Mobs/Cow.cpp
@@ -7,7 +7,7 @@
cCow::cCow(void) :
- super("Cow", mtCow, "entity.cow.hurt", "entity.cow.death", 0.9, 1.3),
+ super(mtCow, "entity.cow.hurt", "entity.cow.death", 0.9, 1.3),
m_BehaviorItemReplacer(E_ITEM_BUCKET, E_ITEM_MILK)
{
m_EMPersonality = PASSIVE;
@@ -16,6 +16,7 @@ cCow::cCow(void) :
m_BehaviorItemFollower.AttachToMonster(*this);
m_BehaviorWanderer.AttachToMonster(*this);
m_BehaviorItemReplacer.AttachToMonster(*this);
+ GetMonsterConfig("Cow");
}