mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-10-26 14:23:55 +00:00
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:
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user