diff options
author | Mattes D <github@xoft.cz> | 2014-06-18 18:23:18 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-06-18 18:23:18 +0200 |
commit | c30b7b87354cd7868dd986008ac91187390a08b2 (patch) | |
tree | 5f7222853d649ca5e66a2640462b4468be6fd79e /src/Entities/ThrownSnowballEntity.cpp | |
parent | Merge pull request #1100 from Howaner/Slabs (diff) | |
parent | Merge branch 'master' into GlobalFixes (diff) | |
download | cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.gz cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.bz2 cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.lz cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.xz cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.tar.zst cuberite-c30b7b87354cd7868dd986008ac91187390a08b2.zip |
Diffstat (limited to 'src/Entities/ThrownSnowballEntity.cpp')
-rw-r--r-- | src/Entities/ThrownSnowballEntity.cpp | 4 |
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); |