Fixed Spring Water Regeneration Effect

This commit is contained in:
Amnet 2013-08-07 10:54:27 +02:00
parent 2a34130347
commit 1be13960d7

View file

@ -79,7 +79,8 @@ public class BlockFluidSpringWater extends BlockFluidClassic
{
if (entity instanceof EntityLivingBase)
{
((EntityLivingBase)entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 20));
if (!((EntityLivingBase)entity).isPotionActive(Potion.regeneration.id))
((EntityLivingBase)entity).addPotionEffect(new PotionEffect(Potion.regeneration.id, 50));
}
}
}