From 8fb697888f8a784da02d17ef721931179c54fc80 Mon Sep 17 00:00:00 2001 From: Driftay Date: Mon, 6 Apr 2020 16:55:22 -0400 Subject: [PATCH] Added Neutral List PlaceHolder --- src/main/java/com/massivecraft/factions/tag/FancyTag.java | 1 + .../java/com/massivecraft/factions/zcore/util/TagReplacer.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/tag/FancyTag.java b/src/main/java/com/massivecraft/factions/tag/FancyTag.java index 5fc060ab..d8f70f7e 100644 --- a/src/main/java/com/massivecraft/factions/tag/FancyTag.java +++ b/src/main/java/com/massivecraft/factions/tag/FancyTag.java @@ -18,6 +18,7 @@ public enum FancyTag implements Tag { * @author FactionsUUID Team */ + NEUTRAL_LIST("{neutral-list}", (target, fme, prefix, gm) -> processRelation(prefix, target, fme, Relation.NEUTRAL)), ALLIES_LIST("{allies-list}", (target, fme, prefix, gm) -> processRelation(prefix, target, fme, Relation.ALLY)), ENEMIES_LIST("{enemies-list}", (target, fme, prefix, gm) -> processRelation(prefix, target, fme, Relation.ENEMY)), TRUCES_LIST("{truces-list}", (target, fme, prefix, gm) -> processRelation(prefix, target, fme, Relation.TRUCE)), diff --git a/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java b/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java index 19668204..a18f4089 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java @@ -20,6 +20,7 @@ public enum TagReplacer { /** * Fancy variables, used by f show */ + NEUTRAL_LIST(TagType.FANCY, "{neutral-list}"), ALLIES_LIST(TagType.FANCY, "{allies-list}"), ONLINE_LIST(TagType.FANCY, "{online-list}"), ENEMIES_LIST(TagType.FANCY, "{enemies-list}"),