Fixed Famine enchantment giving slow digging effect

This commit is contained in:
_OfTeN_ 2021-11-01 20:53:05 +03:00
parent 37090c9a27
commit d874d75c63

View File

@ -37,6 +37,5 @@ public class Famine extends EcoEnchant {
}
victim.addPotionEffect(new PotionEffect(PotionEffectType.HUNGER, level * this.getConfig().getInt(EcoEnchants.CONFIG_LOCATION+"ticks-per-level"), level));
victim.addPotionEffect(new PotionEffect(PotionEffectType.SLOW_DIGGING, level * 40, level*this.getConfig().getInt(EcoEnchants.CONFIG_LOCATION+"amplifier-per-level")-1));
}
}