From bc01275933170ab8e234ad174c523242c5a1c31e Mon Sep 17 00:00:00 2001 From: Magnus Ulf Date: Sun, 21 Feb 2021 10:33:59 +0100 Subject: [PATCH] Fix typo --- .../massivecraft/factions/cmd/CmdFactionsAccessInspect.java | 4 ++-- .../massivecraft/factions/cmd/CmdFactionsRankEditCreate.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsAccessInspect.java b/src/com/massivecraft/factions/cmd/CmdFactionsAccessInspect.java index 61bdbe67..716c6606 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsAccessInspect.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsAccessInspect.java @@ -68,11 +68,11 @@ public class CmdFactionsAccessInspect extends FactionsCommand if (world2Chunks.isEmpty()) { - msg("%s has no special access in %s .", mpermable.getDisplayName(msender), faction.describeTo(msender)); + msg("%s has no special access in %s.", mpermable.getDisplayName(msender), faction.describeTo(msender)); return; } - msg("%s has special access in %s in the following chunks:", mpermable.getDisplayName(msender), faction.describeTo(msender)); + msg("%s has special access in %s in the following chunks:", mpermable.getDisplayName(msender), faction.describeTo(msender)); for (Entry> entry : world2Chunks.entrySet()) { diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsRankEditCreate.java b/src/com/massivecraft/factions/cmd/CmdFactionsRankEditCreate.java index 2e7fe969..e9a0a908 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsRankEditCreate.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsRankEditCreate.java @@ -48,7 +48,7 @@ public class CmdFactionsRankEditCreate extends FactionsCommand } if (ranks.stream().map(Rank::getPriority).anyMatch(i -> i.equals(priority))) { - throw new MassiveException().addMsg("There is already a with priority %s.", priority); + throw new MassiveException().addMsg("There is already a rank with priority %s.", priority); } if (priority > faction.getLeaderRank().getPriority()) {