Make sure damage modification is commented out.

This commit is contained in:
drtshock 2014-07-09 13:20:38 -05:00
parent 846cd71583
commit 7f1b2d73ad

View File

@ -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);