mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-24 05:44:32 +00:00
Performance Commit --Too lazy to do the Altar recipe
This commit is contained in:
1 parent
013367cffa
commit
e5b795fddc
217 files changed
+840
-1244
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ public class EntityHolyElemental extends EntityElemental implements IMob
|
||||
{
|
||||
if (target instanceof EntityLivingBase)
|
||||
{
|
||||
((EntityLivingBase) target).attackEntityFrom(DamageSource.causeMobDamage(this), 15);
|
||||
target.attackEntityFrom(DamageSource.causeMobDamage(this), 15);
|
||||
((EntityLivingBase) target).addPotionEffect(new PotionEffect(AlchemicalWizardry.customPotionInhibit.id, 150, 0));
|
||||
((EntityLivingBase) target).addPotionEffect(new PotionEffect(Potion.poison.id, 100, 1));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user