Implement blank wilderness placeholder (#1070)

This commit is contained in:
Dariasc 2018-03-04 22:48:13 -03:00 committed by Trent Hensler
parent e95ecbd2a9
commit 77f7704ab4

View File

@ -49,7 +49,7 @@ public class ClipPlaceholderAPIManager extends EZPlaceholderHook {
return fPlayer.hasFaction() ? fPlayer.getRole().getPrefix() : ""; return fPlayer.hasFaction() ? fPlayer.getRole().getPrefix() : "";
// Then Faction stuff // Then Faction stuff
case "faction_name": case "faction_name":
return faction.getTag(); return fPlayer.hasFaction() ? faction.getTag() : "";
case "faction_power": case "faction_power":
return String.valueOf(faction.getPowerRounded()); return String.valueOf(faction.getPowerRounded());
case "faction_powermax": case "faction_powermax":