summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Villager.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 18:36:24 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-02 18:36:24 +0200
commit2523af8f9a6f712dc6cc4007437349557b0bdfe1 (patch)
treedcd08777ca9672c331ff6b3503a899e59e2584fc /src/Mobs/Villager.cpp
parentReimplemented creepers using Behaviors (diff)
downloadcuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar
cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.gz
cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.bz2
cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.lz
cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.xz
cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.tar.zst
cuberite-2523af8f9a6f712dc6cc4007437349557b0bdfe1.zip
Diffstat (limited to 'src/Mobs/Villager.cpp')
-rw-r--r--src/Mobs/Villager.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Mobs/Villager.cpp b/src/Mobs/Villager.cpp
index 84514177b..ed3b3305f 100644
--- a/src/Mobs/Villager.cpp
+++ b/src/Mobs/Villager.cpp
@@ -18,10 +18,7 @@ cVillager::cVillager(eVillagerType VillagerType) :
m_VillagerAction(false)
{
m_EMPersonality = PASSIVE;
- m_BehaviorBreeder.AttachToMonster(*this);
- m_BehaviorCoward.AttachToMonster(*this);
- m_BehaviorItemFollower.AttachToMonster(*this);
- m_BehaviorWanderer.AttachToMonster(*this);
+ m_BehaviorDoNothing.AttachToMonster(*this);
GetMonsterConfig("Villager");
}