Fixes to the show command.

This commit is contained in:
Olof Larsson
2011-11-24 16:53:59 +01:00
parent fc6bfcf061
commit 686986eeb9
2 changed files with 15 additions and 6 deletions

View File

@@ -252,7 +252,7 @@ public class Faction extends Entity implements EconomyParticipator
}
}
public Map<Rel, List<String>> getFactionTagsPerRelation()
public Map<Rel, List<String>> getFactionTagsPerRelation(RelationParticipator rp)
{
Map<Rel, List<String>> ret = new HashMap<Rel, List<String>>();
for (Rel rel : Rel.values())
@@ -262,7 +262,7 @@ public class Faction extends Entity implements EconomyParticipator
for (Faction faction : Factions.i.get())
{
Rel relation = faction.getRelationTo(this);
ret.get(relation).add(faction.getTag(this));
ret.get(relation).add(faction.getTag(rp));
}
return ret;
}