From 77f7704ab488e1602a847ac1026c44bff271a0c2 Mon Sep 17 00:00:00 2001 From: Dariasc Date: Sun, 4 Mar 2018 22:48:13 -0300 Subject: [PATCH] Implement blank wilderness placeholder (#1070) --- .../massivecraft/factions/util/ClipPlaceholderAPIManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java b/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java index c0fd4780..2e6d5f57 100644 --- a/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java +++ b/src/main/java/com/massivecraft/factions/util/ClipPlaceholderAPIManager.java @@ -49,7 +49,7 @@ public class ClipPlaceholderAPIManager extends EZPlaceholderHook { return fPlayer.hasFaction() ? fPlayer.getRole().getPrefix() : ""; // Then Faction stuff case "faction_name": - return faction.getTag(); + return fPlayer.hasFaction() ? faction.getTag() : ""; case "faction_power": return String.valueOf(faction.getPowerRounded()); case "faction_powermax":