From e1158ac370f44a5f75861cfbaa64537afb4df6ac Mon Sep 17 00:00:00 2001 From: Driftay Date: Sat, 7 Sep 2019 10:36:18 -0400 Subject: [PATCH] Added faction points papi placeholder --- .../massivecraft/factions/util/ClipPlaceholderAPIManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java b/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java index 77e7588d..b7117dc8 100644 --- a/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java +++ b/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java @@ -120,6 +120,8 @@ public class ClipPlaceholderAPIManager extends PlaceholderExpansion implements R return faction.isPeaceful() ? Conf.colorNeutral + TL.COMMAND_SHOW_PEACEFUL.toString() : ""; case "faction_tntbank_balance": return String.valueOf(faction.getTnt()); + case "faction_points": + return String.valueOf(faction.getPoints()); case "faction_powerboost": double powerBoost = faction.getPowerBoost(); return (powerBoost == 0.0) ? "" : (powerBoost > 0.0 ? TL.COMMAND_SHOW_BONUS.toString() : TL.COMMAND_SHOW_PENALTY.toString()) + powerBoost + ")";