Effect fixes

This commit is contained in:
paulevsGitch 2021-08-10 13:53:38 +03:00
parent 57191936dc
commit 3e6bcd2bc6
4 changed files with 10 additions and 26 deletions

View file

@ -30,7 +30,9 @@ public class CrystaliteArmor extends BaseArmorItem {
}
public static void applySetEffect(LivingEntity owner) {
owner.addEffect(new MobEffectInstance(EndStatusEffects.CRYSTALITE_HEALTH_REGEN));
if ((owner.tickCount & 63) == 0) {
owner.addEffect(new MobEffectInstance(EndStatusEffects.CRYSTALITE_HEALTH_REGEN));
}
}
static {