Merge pull request #33 from warlordjones/patch-1

Make the ItemRing potion effect ambient
Neat, I didn't even know that option existed.
This commit is contained in:
Azanor committed 2014-06-23 08:07:57 +02:00
commit bfc118fb61
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));
}
}