mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-03 02:21:21 +01:00
Fixed Famine enchantment giving slow digging effect
This commit is contained in:
parent
37090c9a27
commit
d874d75c63
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user