summaryrefslogtreecommitdiffstats
path: root/src/Entities/ThrownSnowballEntity.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-28 16:39:59 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-28 16:39:59 +0200
commite7a7c45c3681e90cb9ab13d16935aae9860f1077 (patch)
tree8f00748405253e045acab59c7426c17b101eebe1 /src/Entities/ThrownSnowballEntity.cpp
parentFix Y-Position from arrow entity. (diff)
downloadcuberite-e7a7c45c3681e90cb9ab13d16935aae9860f1077.tar
cuberite-e7a7c45c3681e90cb9ab13d16935aae9860f1077.tar.gz
cuberite-e7a7c45c3681e90cb9ab13d16935aae9860f1077.tar.bz2
cuberite-e7a7c45c3681e90cb9ab13d16935aae9860f1077.tar.lz
cuberite-e7a7c45c3681e90cb9ab13d16935aae9860f1077.tar.xz
cuberite-e7a7c45c3681e90cb9ab13d16935aae9860f1077.tar.zst
cuberite-e7a7c45c3681e90cb9ab13d16935aae9860f1077.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/ThrownSnowballEntity.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Entities/ThrownSnowballEntity.cpp b/src/Entities/ThrownSnowballEntity.cpp
index 427f630f7..cefc3433c 100644
--- a/src/Entities/ThrownSnowballEntity.cpp
+++ b/src/Entities/ThrownSnowballEntity.cpp
@@ -36,10 +36,6 @@ void cThrownSnowballEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d &
{
TotalDamage = 3;
}
- else if (MobType == cMonster::mtEnderDragon)
- {
- TotalDamage = 1;
- }
}
// TODO: If entity is Ender Crystal, destroy it
a_EntityHit.TakeDamage(dtRangedAttack, this, TotalDamage, 1);