Fixed Spring Water Regeneration Effect
This commit is contained in:
parent
2a34130347
commit
1be13960d7
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue