Working permdelta parser
This commit is contained in:
@ -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();
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user