This commit is contained in:
Magnus Ulf 2021-02-21 10:33:59 +01:00
parent 7d06b137fd
commit bc01275933
2 changed files with 3 additions and 3 deletions

View File

@ -68,11 +68,11 @@ public class CmdFactionsAccessInspect extends FactionsCommand
if (world2Chunks.isEmpty()) if (world2Chunks.isEmpty())
{ {
msg("%s <i>has no special access in <reset>%s <i>.", mpermable.getDisplayName(msender), faction.describeTo(msender)); msg("%s <i>has no special access in <reset>%s<i>.", mpermable.getDisplayName(msender), faction.describeTo(msender));
return; return;
} }
msg("%s <i>has special access in <reset>%s <i> in the following chunks:", mpermable.getDisplayName(msender), faction.describeTo(msender)); msg("%s <i>has special access in <reset>%s <i>in the following chunks:", mpermable.getDisplayName(msender), faction.describeTo(msender));
for (Entry<String, Set<PS>> entry : world2Chunks.entrySet()) for (Entry<String, Set<PS>> entry : world2Chunks.entrySet())
{ {

View File

@ -48,7 +48,7 @@ public class CmdFactionsRankEditCreate extends FactionsCommand
} }
if (ranks.stream().map(Rank::getPriority).anyMatch(i -> i.equals(priority))) if (ranks.stream().map(Rank::getPriority).anyMatch(i -> i.equals(priority)))
{ {
throw new MassiveException().addMsg("<b>There is already a with priority <h>%s<b>.", priority); throw new MassiveException().addMsg("<b>There is already a rank with priority <h>%s<b>.", priority);
} }
if (priority > faction.getLeaderRank().getPriority()) if (priority > faction.getLeaderRank().getPriority())
{ {