Working permdelta parser

This commit is contained in:
Olof Larsson
2011-10-23 23:38:26 +02:00
parent 371261a07f
commit 958a1e0d9f
5 changed files with 7 additions and 6 deletions

View File

@ -91,7 +91,7 @@ public enum FactionFlag
public String getStateInfo(boolean value, boolean withDesc)
{
String ret = (value ? "<g>YES" : "<b>NOT") + "<h> " + this.getNicename();
String ret = (value ? "<g>YES" : "<b>NOO") + "<h> " + this.getNicename();
if (withDesc)
{
ret += " " + this.getDescription();

View File

@ -71,13 +71,13 @@ public enum FactionPerm
List<String> rels = new ArrayList<String>();
for (Rel rel : value)
{
rels.add("<i>"+rel.nicename);
rels.add("<p>"+rel.nicename);
}
ret += TextUtil.implode(rels, "<n> ,");
ret += TextUtil.implode(rels, "<c> + ");
if (withDesc)
{
ret += " " + this.getDescription();
ret += " <i>" + this.getDescription();
}
return ret;
}