From 3cc5cd4a04fd1c69a9ccb638e72e3544af700d86 Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 7 Feb 2013 22:10:31 -0500 Subject: [PATCH] Fixed playerParty never being initialized. --- .../java/com/gmail/nossr50/party/commands/PartyJoinCommand.java | 1 + 1 file changed, 1 insertion(+) 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))) {