diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 18:36:24 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 18:36:24 +0200 |
commit | 2523af8f9a6f712dc6cc4007437349557b0bdfe1 (patch) | |
tree | dcd08777ca9672c331ff6b3503a899e59e2584fc /src/Mobs/IronGolem.cpp | |
parent | Reimplemented creepers using Behaviors (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Mobs/IronGolem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/IronGolem.cpp b/src/Mobs/IronGolem.cpp index 366ea76c4..a6fd5e8c4 100644 --- a/src/Mobs/IronGolem.cpp +++ b/src/Mobs/IronGolem.cpp @@ -11,6 +11,7 @@ cIronGolem::cIronGolem(void) : super(mtIronGolem, "entity.irongolem.hurt", "entity.irongolem.death", 1.4, 2.9) { m_EMPersonality = PASSIVE; + m_BehaviorWanderer.AttachToMonster(*this); GetMonsterConfig("IronGolem"); } |