mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-20 12:09:59 +00:00
Make the ItemRing potion effect ambient
Means it's particle SFX will be less disruptive
This commit is contained in:
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user