diff options
author | archshift <admin@archshift.com> | 2014-06-12 01:21:47 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:21 +0200 |
commit | 71b4c4949087860ab9962d6545a0ad2eb9c0ee5a (patch) | |
tree | 95de954af7f5b4a921c36172f2fd550cfc0545b6 /src/Entities/SplashPotionEntity.cpp | |
parent | Added wither damage type, wither entity effect. (diff) | |
download | cuberite-71b4c4949087860ab9962d6545a0ad2eb9c0ee5a.tar cuberite-71b4c4949087860ab9962d6545a0ad2eb9c0ee5a.tar.gz cuberite-71b4c4949087860ab9962d6545a0ad2eb9c0ee5a.tar.bz2 cuberite-71b4c4949087860ab9962d6545a0ad2eb9c0ee5a.tar.lz cuberite-71b4c4949087860ab9962d6545a0ad2eb9c0ee5a.tar.xz cuberite-71b4c4949087860ab9962d6545a0ad2eb9c0ee5a.tar.zst cuberite-71b4c4949087860ab9962d6545a0ad2eb9c0ee5a.zip |
Diffstat (limited to 'src/Entities/SplashPotionEntity.cpp')
-rw-r--r-- | src/Entities/SplashPotionEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/SplashPotionEntity.cpp b/src/Entities/SplashPotionEntity.cpp index e8bb0a420..5574ea53c 100644 --- a/src/Entities/SplashPotionEntity.cpp +++ b/src/Entities/SplashPotionEntity.cpp @@ -77,7 +77,7 @@ bool cSplashPotionEntity::cSplashPotionCallback::Item(cEntity * a_Entity) m_EntityEffect.SetDistanceModifier(reduction); - if (a_Entity->IsMob() || a_Entity->IsPlayer()) + if (a_Entity->IsPawn()) { ((cPawn *) a_Entity)->AddEntityEffect(m_EntityEffectType, m_EntityEffect); } |