diff --git a/src/main/java/com/gmail/nossr50/party/commands/PartyJoinCommand.java b/src/main/java/com/gmail/nossr50/party/commands/PartyJoinCommand.java index f086c1d11..8d3e23caf 100644 --- a/src/main/java/com/gmail/nossr50/party/commands/PartyJoinCommand.java +++ b/src/main/java/com/gmail/nossr50/party/commands/PartyJoinCommand.java @@ -100,6 +100,7 @@ public class PartyJoinCommand implements CommandExecutor { player = (Player) sender; mcMMOPlayer = Users.getPlayer(player); + playerParty = mcMMOPlayer.getParty(); targetParty = mcMMOTarget.getParty(); if (player.equals(target) || (mcMMOPlayer.inParty() && playerParty.equals(targetParty))) {