Fixed Famine enchantment giving slow digging effect
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user