mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 00:30:07 +01:00
Fixed playerParty never being initialized.
This commit is contained in:
parent
70ba4a0f3d
commit
3cc5cd4a04
@ -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))) {
|
||||
|
Loading…
Reference in New Issue
Block a user