Slight changes to f perm show

show and show2 is not ideal, a solution must be found. Probably renaming one or both commens to use different synonoyms
This commit is contained in:
Magnus Ulf
2018-12-29 19:24:56 +01:00
parent 56370bfab2
commit 2bfe2bdc75
3 changed files with 6 additions and 3 deletions

View File

@ -55,7 +55,7 @@ public class CmdFactionsPermShow extends FactionsCommand
String permableNames = Txt.implodeCommaAnd(permableList, Txt.parse("<i>"));
// Create messages
msg("<i>In <reset>%s <i>permission <h>%s <i>is granted to <reset>%s<i>.", faction.describeTo(msender), mperm.getName(), permableNames);
msg("<i>In <reset>%s <i>permission <reset>%s <i>is granted to <reset>%s<i>.", faction.describeTo(msender), mperm.getDesc(true, false), permableNames);
}
public static MPerm.MPermable idToMPermable(String id)

View File

@ -117,7 +117,7 @@ public class TypeMPermable extends TypeAbstract<MPerm.MPermable>
ret.addAll(TypeFaction.get().getTabList(sender, arg));
// Faction specific ranks
if (arg.length() >= 3)
if (arg.length() >= 2)
{
for (var f : FactionColl.get().getAll())
{