summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-12-25 00:44:09 +0100
committerMattes D <github@xoft.cz>2014-12-25 00:44:09 +0100
commit3da6e4374e72e86930a24441c2b26f8eb582c723 (patch)
tree6b83f45407713ea40ad23ea46562fefdbd4079a4 /src/Mobs
parentAPIDump: Added details about client handle in OnServerPing hook. (diff)
downloadcuberite-3da6e4374e72e86930a24441c2b26f8eb582c723.tar
cuberite-3da6e4374e72e86930a24441c2b26f8eb582c723.tar.gz
cuberite-3da6e4374e72e86930a24441c2b26f8eb582c723.tar.bz2
cuberite-3da6e4374e72e86930a24441c2b26f8eb582c723.tar.lz
cuberite-3da6e4374e72e86930a24441c2b26f8eb582c723.tar.xz
cuberite-3da6e4374e72e86930a24441c2b26f8eb582c723.tar.zst
cuberite-3da6e4374e72e86930a24441c2b26f8eb582c723.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Guardian.cpp2
-rw-r--r--src/Mobs/Monster.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Guardian.cpp b/src/Mobs/Guardian.cpp
index d69ee1683..15908d801 100644
--- a/src/Mobs/Guardian.cpp
+++ b/src/Mobs/Guardian.cpp
@@ -28,7 +28,7 @@ void cGuardian::GetDrops(cItems & a_Drops, cEntity * a_Killer)
}
AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_PRISMARINE_SHARD);
AddRandomDropItem(a_Drops, 0, 1 + LootingLevel, E_ITEM_RAW_FISH);
- AddRandomDropItem(a_Drops, 0, 1 + LootingLevel, E_ITEM_PRISMARINE_CRYSTALS); // ToDo: Prismarine Crystals only drop if the raw fish drop is 0
+ AddRandomDropItem(a_Drops, 0, 1 + LootingLevel, E_ITEM_PRISMARINE_CRYSTALS); // TODO: Prismarine Crystals only drop if the raw fish drop is 0
}
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index a02ea357e..425c80bf4 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -846,7 +846,7 @@ cMonster::eFamily cMonster::FamilyFromType(eMonsterType a_Type)
case mtEnderman: return mfHostile;
case mtGhast: return mfHostile;
case mtGiant: return mfNoSpawn;
- case mtGuardian: return mfWater; // Just because they have special spawning conditions. If Watertemples have been added, this needs to be edited!
+ case mtGuardian: return mfWater; // Just because they have special spawning conditions. If Watertemples have been added, this needs to be edited!
case mtHorse: return mfPassive;
case mtIronGolem: return mfPassive;
case mtMagmaCube: return mfHostile;