Fixed F Power Upgrade
This commit is contained in:
parent
ad56264c5d
commit
1a4c860c46
@ -95,7 +95,7 @@ public class FUpgradeFrame {
|
||||
private void updateFactionPowerBoost(Faction f) {
|
||||
double boost = FactionsPlugin.getInstance().getConfig().getDouble("fupgrades.MainMenu.Power.Power-Boost.level-" + (f.getUpgrade(UpgradeType.POWER) + 1));
|
||||
if (boost < 0.0) return;
|
||||
f.setPowerBoost(f.getPower() + boost);
|
||||
f.setPowerBoost(boost);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user