diff --git a/src/main/java/com/gmail/nossr50/party/PartyManager.java b/src/main/java/com/gmail/nossr50/party/PartyManager.java index 2753cc443..5a293f64d 100644 --- a/src/main/java/com/gmail/nossr50/party/PartyManager.java +++ b/src/main/java/com/gmail/nossr50/party/PartyManager.java @@ -381,7 +381,7 @@ public final class PartyManager { * @return true if the player can invite */ public static boolean canInvite(Player player, Party party) { - return !(party.isLocked() && !party.getLeader().equalsIgnoreCase(player.getName())) + return !(party.isLocked() && !party.getLeader().equalsIgnoreCase(player.getName())); } /**