Make sure damage modification is commented out.
This commit is contained in:
parent
846cd71583
commit
7f1b2d73ad
@ -376,8 +376,8 @@ public class FactionsEntityListener implements Listener {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This hasn't been working so let's just remove it.
|
|
||||||
// Damage will be dealt. However check if the damage should be reduced.
|
// Damage will be dealt. However check if the damage should be reduced.
|
||||||
|
/*
|
||||||
if (damage > 0.0 && ownTerritory && Conf.territoryShieldFactor > 0) {
|
if (damage > 0.0 && ownTerritory && Conf.territoryShieldFactor > 0) {
|
||||||
double newDamage = Math.ceil(damage * (1D - Conf.territoryShieldFactor));
|
double newDamage = Math.ceil(damage * (1D - Conf.territoryShieldFactor));
|
||||||
sub.setDamage(newDamage);
|
sub.setDamage(newDamage);
|
||||||
|
Loading…
Reference in New Issue
Block a user