summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-25 17:07:52 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-25 17:07:52 +0100
commit548273c8f7de2eaee34a5ed61cfefb72baf77971 (patch)
treef927f87311008c602b76ae2f59b0d171bf0dbfce /src/Mobs
parentMerge pull request #469 from mc-server/Android_Update (diff)
downloadcuberite-548273c8f7de2eaee34a5ed61cfefb72baf77971.tar
cuberite-548273c8f7de2eaee34a5ed61cfefb72baf77971.tar.gz
cuberite-548273c8f7de2eaee34a5ed61cfefb72baf77971.tar.bz2
cuberite-548273c8f7de2eaee34a5ed61cfefb72baf77971.tar.lz
cuberite-548273c8f7de2eaee34a5ed61cfefb72baf77971.tar.xz
cuberite-548273c8f7de2eaee34a5ed61cfefb72baf77971.tar.zst
cuberite-548273c8f7de2eaee34a5ed61cfefb72baf77971.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Monster.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 563eec7bb..5a8ef0eb2 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -642,9 +642,10 @@ cMonster::eFamily cMonster::FamilyFromType(eType a_Type)
case mtEnderman: return mfHostile;
case mtGhast: return mfHostile;
case mtHorse: return mfPassive;
+ case mtIronGolem: return mfPassive;
case mtMagmaCube: return mfHostile;
case mtMooshroom: return mfHostile;
- case mtOcelot: return mfHostile;
+ case mtOcelot: return mfPassive;
case mtPig: return mfPassive;
case mtSheep: return mfPassive;
case mtSilverfish: return mfHostile;