Make the ItemRing potion effect ambient

Means it's particle SFX will be less disruptive
This commit is contained in:
Arona Jones committed 2014-06-20 17:15:07 +01:00
1 parent f73a213e20
commit 18115f911a
1 file changed
+1 -1
@@ -76,7 +76,7 @@ public class ItemRing extends Item implements IBauble
@Override
public void onWornTick(ItemStack itemstack, EntityLivingBase player) {
if (itemstack.getItemDamage()==0 && !player.isPotionActive(Potion.digSpeed)) {
player.addPotionEffect(new PotionEffect(Potion.digSpeed.id,40,0));
player.addPotionEffect(new PotionEffect(Potion.digSpeed.id,40,0,true));
}
}