From 02026104b7d8defadc0329fb07b571ae08c1f7d2 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Tue, 31 Jul 2012 21:53:54 -0500 Subject: [PATCH] Add %description% macro (thanks to talmor) --- src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java index 927deeb..ae86b03 100644 --- a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java +++ b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java @@ -194,6 +194,7 @@ public class DynmapFactionsPlugin extends JavaPlugin { private String formatInfoWindow(Faction fact) { String v = "
"+infowindow+"
"; v = v.replace("%regionname%", ChatColor.stripColor(fact.getTag())); + v = v.replace("%description%", ChatColor.stripColor(fact.getDescription())); FPlayer adm; try { adm = fact.getFPlayerAdmin();