From 1a4c860c463118494cd4d6843f9b6b968eaa97d1 Mon Sep 17 00:00:00 2001 From: Driftay Date: Sun, 26 Jan 2020 16:08:03 -0500 Subject: [PATCH] Fixed F Power Upgrade --- .../massivecraft/factions/zcore/fupgrades/FUpgradeFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/fupgrades/FUpgradeFrame.java b/src/main/java/com/massivecraft/factions/zcore/fupgrades/FUpgradeFrame.java index 3685c2ef..73c96ee6 100644 --- a/src/main/java/com/massivecraft/factions/zcore/fupgrades/FUpgradeFrame.java +++ b/src/main/java/com/massivecraft/factions/zcore/fupgrades/FUpgradeFrame.java @@ -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); }