Add %description% macro (thanks to talmor)

This commit is contained in:
Mike Primm 2012-07-31 21:53:54 -05:00
parent 36d7f22b9b
commit 02026104b7

View File

@ -194,6 +194,7 @@ public class DynmapFactionsPlugin extends JavaPlugin {
private String formatInfoWindow(Faction fact) {
String v = "<div class=\"regioninfo\">"+infowindow+"</div>";
v = v.replace("%regionname%", ChatColor.stripColor(fact.getTag()));
v = v.replace("%description%", ChatColor.stripColor(fact.getDescription()));
FPlayer adm;
try {
adm = fact.getFPlayerAdmin();