mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-17 04:41:21 +01:00
Refactoring?
This commit is contained in:
parent
3e0e7696f8
commit
5027814b70
@ -5,7 +5,6 @@ import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||
import org.bukkit.attribute.Attribute;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.kingdoms.utils.caffeine.checkerframework.checker.units.qual.A;
|
||||
|
||||
public final class Goliath extends EcoEnchant {
|
||||
public Goliath() {
|
||||
@ -30,7 +29,6 @@ public final class Goliath extends EcoEnchant {
|
||||
if(bonus - 1 > this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier-cap")) {
|
||||
bonus = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "multiplier-cap") + 1;
|
||||
}
|
||||
A
|
||||
event.setDamage(damage * bonus);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user